<div>Hi ,</div>
<div>I agree with the problem caue of the the <strong>escape character,</strong>but when i folllow</div>
<div>these meth,it still didn't work.</div>
<div>It is so strang that the code work on another computer (OS is WinXP),but throw</div>
<div>error on mine.Why?plese help me<br><br> </div>
<div><span class="gmail_quote">On 10/10/06, <b class="gmail_sendername">Gabriel Genellina</b> <<a href="mailto:gagsl-py@yahoo.com.ar">gagsl-py@yahoo.com.ar</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">At Monday 9/10/2006 22:14, Kevien Lee wrote:<br><br>>   There is a problem about File path encode ,when i want to parse
<br>> an xml file.<br>>     xmldoc=minidom.parse("<font color="#ff0000">D:\Downloads\1.xml</font>")<br>>IOError: [Errno 2] No such file or directory: 'D:\\Downloads\x01.xml'<br>><br>>See the red line.the
 file path"<font color="#ff0000">D:\Downloads\1.xml</font>" auto  changed<br>>'D:\\Downloads\x01.xml'<br>><br>>I think may be the version cause the problem (version2.4) at the<br>>beginning,but when i changed the 
version2.5 ,<br><br><strong>\ is a escape character. Use "D:\\Downloads\\1.xml" or<br>r"D:\Downloads\1.xml" or "D:/Downloads/1.xml"<br>(I wrote this same message a few hours ago...!)<br></strong>
<br><br><br>--<br>Gabriel Genellina<br>Softlab SRL<br><br><br><br><br><br>__________________________________________________<br>Preguntá. Respondé. Descubrí.<br>Todo lo que querías saber, y lo que ni imaginabas,<br>está en Yahoo! Respuestas (Beta).
<br>¡Probalo ya!<br><a href="http://www.yahoo.com.ar/respuestas">http://www.yahoo.com.ar/respuestas</a><br><br><br></blockquote></div><br>