instance as a sequence

sndive at gmail.com sndive at gmail.com
Mon Nov 5 12:32:10 EST 2007


suppose i want to
make foo.childNodes[bar] available as foo[bar]
(while still providing access to the printxml/printprettyxml()
functions
and other functionality of dom/minidom instance).

What is a good way to accomplish that?




More information about the Python-list mailing list