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
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
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
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