A problem about File path encode
Gabriel G
gabrielg_laburando at yahoo.com.ar
Tue Oct 10 18:25:53 EDT 2006
At Tuesday 10/10/2006 11:32, Kevien Lee wrote:
>I agree with the problem caue of the the escape character,but when i folllow
>these meth,it still didn't work.
Explain "didn't work". A full traceback would be useful.
>It is so strang that the code work on another computer (OS is WinXP),but throw
>error on mine.Why?plese help me
Using *exactly* the same file name? "D:\Downloads\second.xml" works
fine too, but that's just because \d and \s are not recognised as
escape sequences.
> > There is a problem about File path encode ,when i want to parse
> > an xml file.
> > xmldoc=minidom.parse("D:\Downloads\1.xml")
> >IOError: [Errno 2] No such file or directory: 'D:\\Downloads\x01.xml'
--
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-list
mailing list