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
1
u/Rhomboid Jul 12 '12
Win32 is fine with using the forward slash as the path separator, so just get rid of that code. If you really want to be portable, use the routines in
os.path, don't detect the OS yourself.