From xml data to python code to run
ralfbrand50 at gmail.com
ralfbrand50 at gmail.com
Wed Aug 30 08:35:09 EDT 2006
Hello,
I've got the following question:
Is it possible to run data that's from an xml file as python code, by
this I mean the following.
In a xml file there's the following data
<code><![CDATA[self.wTree.signal_autoconnect(dic)]]></code>
Now I want to extract the self.wTree.signal_autoconnect(dic)* from the
xml file and make it possible that Python runs this, instead of having
a python file were with the hardcoded self.wTre.. in it.
*this could my any sort of data, single or multiple lines, even whole
def's
Kind regards,
Ralf Brand
the Netherlands
More information about the Python-list
mailing list