Re: A problem about File path encode

2006-10-10 Thread Gabriel G
er (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 wan

Re: A problem about File path encode

2006-10-10 Thread Kevien Lee
At Monday 9/10/2006 22:14, Kevien Lee wrote:>   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'>>See the red line

Re: A problem about File path encode

2006-10-10 Thread Gabriel Genellina
At Monday 9/10/2006 22:14, Kevien Lee wrote: 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' See the red line.the file pat

A problem about File path encode

2006-10-09 Thread Kevien Lee
Hi everyone,   There is a problem about File path encode ,when i want to parse an xml file.   The code as follow:   -- from xml.dom import minidomdef ReadXml():xmldoc=minidom.parse("D:\Downloads\1.xml")    print xmldoc.t