Message112934
The message is definitely an str (unicode) string. WinXP,3.1.2,
import os
try: os.rmdir('nonexist')
except Exception as e:
print(repr(e.args[1]), '\n', repr(e.strerror), '\n', e.filename)
os.rmdir('nonexist')
# prints
'The system cannot find the file specified'
'The system cannot find the file specified'
nonexist
...
WindowsError: [Error 2] The system cannot find the file specified: 'nonexist' |
|
Date |
User |
Action |
Args |
2010-08-05 00:36:52 | terry.reedy | set | recipients:
+ terry.reedy, gvanrossum, loewis, amaury.forgeotdarc, christian.heimes, r37c, eckhardt, methane |
2010-08-05 00:36:52 | terry.reedy | set | messageid: <1280968612.04.0.101339803543.issue1754@psf.upfronthosting.co.za> |
2010-08-05 00:36:50 | terry.reedy | link | issue1754 messages |
2010-08-05 00:36:49 | terry.reedy | create | |
|