Re: [IronPython] os.strerror

2009-06-17 Thread Dino Viehland
.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Seo Sanghyeon Sent: Wednesday, June 17, 2009 1:56 AM To: Discussion of IronPython Subject: [IronPython] os.strerror os.strerror is not implemented. Something as simple as the following woud work: import os import err

[IronPython] os.strerror

2009-06-17 Thread Seo Sanghyeon
os.strerror is not implemented. Something as simple as the following woud work: import os import errno def strerror(code): if code == errno.ENOENT: return 'No such file or directory' elif code == errno.EACCES: return 'Permission denied' else: return 'Unknown er