.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
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