Python and XML

Matthieu M. mat at frheaven.com
Mon Aug 4 17:44:25 EDT 2003


Lee Harr wrote:

> I think the problem is that your program is called xml.py
> 
> so, when you say:
> 
> from xml import ....
> 
> it is trying to import from YOUR PROGRAM instead of the standard lib.
> Try renaming your program.

you were right :)
Thanks a lot, I didn't know that python searched in the active directory 
by default...

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





More information about the Python-list mailing list