spaces at ends of filenames or directory names on Win32

drobinow at gmail.com drobinow at gmail.com
Sat Feb 25 14:57:03 EST 2006


For example... tell windows to move a file named ' XXX ' (one space
before and one space after the filename). Windows will complain that
file 'XXX' does not exist. It's correct of course, 'XXX' does not
exist,
but ' XXX ' does indeed exist.

Can anyone rescue me from this madness :(
-----
 Please post your Python code.  I don't see the problem you're
describing.




More information about the Python-list mailing list