Skip to navigation
Test if a file in python exist
07.12.13
try: with open('filename') as f: pass except IOError as e: print 'Oh dear. http://stackoverflow.com/questions/82831/how-do-i-check-if-a-file-exists-using-python
Reply
Anonymous
Information Epoch 1779933429
A language that doesn't affect the way you think is not worth knowing.
Home
Notebook
Contact us