Python and XML

Matthieu M. mat at frheaven.com
Sun Aug 3 13:34:00 EDT 2003


Hi!

I want to make an application that needs to parse an xml file, but I 
always have weird errors, I've got Python 2.3

Here's the beginning of my prog:

from xml.dom import pulldom

and here's python's answer:

Traceback (most recent call last):
   File "xml.py", line 1, in ?
     from xml.dom import pulldom
   File "C:\progs\xml.py", line 1, in ?
     from xml.dom import pulldom
ImportError: No module named dom

When I look in my Python folder I see .py files in xml/dom...

Thanks for any help.

-- 
Matthieu M. <mat at frheaven.com>
http://www.frheaven.com





More information about the Python-list mailing list