How to execute lists of code? Or alternatives.
scarblac-spamtrap at pino.selwerd.nl
Tue May 9 11:12:37 EDT 2000
rzantow at my-deja.com wrote in comp.lang.python:
> Is there a way to execute a list of Python code strings?
'exec' will probably do what you want.
What I would love to have is to __import__ a module from a string. I don't
think that's possible though.
Remco Gerlich, scarblac at pino.selwerd.nl
Hi! I'm a .sig virus! Join the fun and copy me into yours!
More information about the Python-list