Commands Exception Handling

Brian Eoff Brian.Eoff at trw.com
Wed Aug 1 10:49:26 EDT 2001


When using the commands.getstatusoutput(......) what should the except
be? Would OSError work, or should I use IOError because I am trying to
manipulate files on a UNIX system?

Any help would be appreciated.





More information about the Python-list mailing list