In the below block, why is the if statement e.errno != errno.EEXIST? Why can the errno be both before and after the "."?
import os, errno
try:
os.makedirs('a/b/c')
except OSError, e:
if e.errno != errno.EEXIST:
raise
--
Michael J. Lewis
[email protected]
415.815.7257
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
