file names longer than MAX_PATH under Windows 2003

Sergey s323 at mail.ru
Tue Feb 14 07:12:37 EST 2006


"Steven D'Aprano" <steve at REMOVETHIScyber.com.au> wrote in message news:pan.2006.02.14.12.09.41.447607 at REMOVETHIScyber.com.au...
> Are you passing a unicode object to the function?
>
> f = file(u"E:\\files\\...\\something.dat", "r")

I pass variable c into functions:

>>> c
u'\\\\.\\e:\\files\\\u041f\u0420\u041e\u0414\u041e \u041c\u0435\u043d\u0435\u043
[many unicode chars skipped]
44b\u0439_\u0411\u044e\u0434\u0436\u0435\u0442.xls'





More information about the Python-list mailing list