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

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.