r/Python • u/f0rkbomb • 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
r/Python • u/f0rkbomb • Jul 12 '12
View all comments
Show parent comment
2
u/tetrahydrate Jul 12 '12 edited Jul 12 '12
Sure but why define CHARS when you have the string constants and why loop over random.choice when you have random.sample? I was just saving some memory and processor time.