file names longer than MAX_PATH under Windows 2003

Sergey s323 at mail.ru
Tue Feb 14 06:52:49 EST 2006


"Tim Golden" <tim.golden at viacom-outdoor.co.uk> wrote in message news:mailman.1895.1139917457.27775.python-list at python.org...
[Sergey]

>But note that r prefix to the string. Is it possible
>that your string didn't include it? If not, then the
>backslash character which Windows uses as a separator
>can be stolen by Python which sees it as an escaping
>character.

It's ok with backslashes, I don't use r'', but double them so string is correct:
>>> print c
\\?\e:\files\........





More information about the Python-list mailing list