Jump to content





Photo

Pick-A-Mod!

Posted by le717 , in Triangular Minifigure Blog 17 January 2013 · 363 views

Ever have trouble deciding on who to contact on a certain site to report an issue or something else? Now you don't! Introducing Pick-A-Mod! Written in Python 3, this super small 664 byte script is perfect for deciding on who to choose! Simply open it up, start it, and let it choose for you! If you are one of those people who don't know who to pick but are trying to avoid other people (you know who you are), then just continue cycling through the choices to get the person you want! When you finally have your staff member of choice, simply press "y", and you web browser will open for you, ready to take your message!

The secret is two-fold: First a list containing all staff member names. Second, the random.choice() module which make the selection for you! Because of this simple design, Pick-A-Mod can be edited to work with whatever site you want!

Pick-A-Mod is not available in stores, and can be yours only through this special offer, if the price is right!



I'm glad this will never be released, nor that I actually use it. Something... bad would happen. :P

In all seriousness, I whipped this up tonight just for this video. I felt like I needed to do something new, so I did. One (unintentional) feature you'll see in the video: If you type the username you want, most of the time it will bring it up. As you can see, it does not add the username of choice in the Recipient's Name field (I couldn't find a URL shortcut to do so), but I'm sure that could be fixed with a few if, elif, and else blocks.



F40PH in the background! :D

F40PH in the background! :D


Of course. What else would I put in the background, LEGO Island 2? :P
y u so furry hate

Of course. What else would I put in the background, LEGO Island 2? :P

Well I wasn't expecting an anti-furry meme from /b/...
Since there are seven mods, I can assign the other six to each side of a die. Pick-A-Mod, caveman edition D:
Wow le717 you really must have worked hard on this.

Wow le717 you really must have worked hard on this.


Oh yes, 26 lines of code, 7 of them blank is really hard. ;P

Oh yes, 26 lines of code, 7 of them blank is really hard. ;P

26 Lines? o_0

It should have taken 1... 2 at the extreme most, for the actually randomizing and printing of the result.

26 Lines? o_0 It should have taken 1... 2 at the extreme most, for the actually randomizing and printing of the result.


I was talking about the entire program, not just the randomize and print section. Actually, counting import random, that itself is only three lines, Everything else is the import webbrowser, and if elif blocks for the commands. ;)

If anyone cares, I'll post my code, if you are just dying to see it/use Pick-A-Mod (which I would hope nobody will want to use it. :P)
I think I'll mod it to have EVERYBODY'S names.
    • MrElephant thanked this
Everybody? Seriously? Would you ask a question to me if it selects it?
We have almost 3000 members. I hope your body can take it.
>Doesn't respond
>His body is not ready

>System online.

>Launching Pick_dash_A_dash_Member.exe

November 2014

S M T W T F S
            1
2345678
9101112131415
16171819202122
23242526 27 2829
30           

Search My Blog

Recent Entries

Recent Comments

0 user(s) viewing

0 members, 0 guests, 0 anonymous users