**kwds behavior?

Paradox JoeyTaj at netzero.com
Wed Sep 3 13:50:15 EDT 2003


Thanks for the replies. basically what I was trying to accomplish was
to be able to load a script text file with python syntax into a class
and have it be able to cleanly reference the properties and methods.

I have currently accomplished it with something like this

code = compile(scriptText, '<string>','exec')
exec code in self.__dict__




More information about the Python-list mailing list