python and parsing an xml file

python at python at
Tue Feb 22 07:29:04 EST 2011


> How about skipping the whole xml thing? You can dynamically import any python module, even if it does not have a python filename.

Great example!

Can you do the same with a cStringIO based file that exists in memory
vs. on disk? Your example requires a physical file on disk. Is it
possible to accomplish the same using a string vs. a file or temporary

Thank you,
Malcolm (not the OP)

More information about the Python-list mailing list