how do you know if open failed?

SpreadTooThin bjobrien62 at gmail.com
Thu Sep 28 14:16:03 EDT 2006


f = open('myfile.bin', 'rb')

How do I know if there was an error opening my file?




More information about the Python-list mailing list