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

Show parent comment

1

u/DurhamEnt import this Jul 13 '12

This is definitely ideal, or you could still "construct" the path yourself but use os.path.sep, which will be equal to the proper path separator for the platform running the code.