Re: IOError - list of all Errno numbers and their meanings?

2007-09-11 Thread Marc 'BlackJack' Rintsch
On Tue, 11 Sep 2007 13:08:25 +0100, Tim Couper wrote: > As you know, when an IOError is raised, you get a helpful: > > [Errno N] > > Is there a list of all possible values of N which can be returned, and > their meanings? Take a look at the `errno` module and the `os.strerror()` function. Ci

Re: IOError - list of all Errno numbers and their meanings?

2007-09-11 Thread Jeff McNeil
The 'errno' number (at least on the *nix platforms I use) corresponds to the 'errno' number set on system call failure. POSIX.1 specifies a set of standard errors. AFAIK, the 'errno' module should contain the mappings for your system. On 9/11/07, Tim Couper <[EMAIL PROTECTED]> wrote: > As you k

IOError - list of all Errno numbers and their meanings?

2007-09-11 Thread Tim Couper
As you know, when an IOError is raised, you get a helpful: [Errno N] Is there a list of all possible values of N which can be returned, and their meanings? -- Dr Tim Couper CTO, SciVisum Ltd www.scivisum.com -- http://mail.python.org/mailman/listinfo/python-list