How to execute lists of code? Or alternatives.

Remco Gerlich scarblac-spamtrap at
Tue May 9 18:12:19 CEST 2000

Fredrik Lundh wrote in comp.lang.python:
> Remco Gerlich wrote:
> > What I would love to have is to __import__ a module from a string.
> > I don't think that's possible though.
> # import module from string
> # fredrik lundh, may 2000
> import imp, sys

Wow, never heard of that module. Thanks!

Remco Gerlich,  scarblac at
Hi! I'm a .sig virus! Join the fun and copy me into yours!

More information about the Python-list mailing list