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

mjole...@gmail.com
415.815.7257
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to