os.walk return hex excapes

Alex S helonice at yahoo.com
Tue Nov 28 06:28:56 EST 2006


Hi,
os.walk return hex excape sequence inside a files name, and when i try
to feed it back to os.remove i get 

OSError: [Errno 22] Invalid argument:
'C:\\Temp\\?p?\xbfS\xbf\xac?G\xaba ACDSee \xbb?a??n a???\xac\xb5\xbfn.exe'




More information about the Python-list mailing list