Skip to main content
4 events
when toggle format what by license comment
Dec 23, 2014 at 16:18 comment added 9000 @J.F.Sebastian: Sorry, I was answering the title question, "How can I check to see if a file exists before proceeding using Python", not the implied question "why this code fails".
Dec 23, 2014 at 0:18 comment added jfs how os.access() may help to avoid "ValueError: max() arg is an empty sequence" in this case?
Dec 23, 2014 at 0:11 comment added Waleed Khan Plus one for try-catch, that's allegedly more Pythonic and it seems as if it would be more resistant to race conditions.
Dec 23, 2014 at 0:09 history answered 9000 CC BY-SA 3.0