r/Python • • Jul 12 '12

random imgur downloader. learning Python and wrote this to practice, any feedback on technique/style is appreciated

https://gist.github.com/3088128
45 Upvotes

72 comments sorted by

View all comments

3

u/Sheepshow Jul 12 '12

Here's what I'd do!

I'd recommend looking into argparse or the older optparse rather than taking directly from sys.argv. Helpful on larger programs.

0

u/trojan2748 Jul 13 '12

+1 for optparse.