python and parsing an xml file

python at bdurham.com python at bdurham.com
Tue Feb 22 13:29:04 CET 2011


Paul,

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

Thank you,
Malcolm (not the OP)



More information about the Python-list mailing list