Newbie Q: Import code at run-time?
jamesk at ifm-services.com
Mon Feb 25 03:36:51 EST 2002
> check out execfile().
This works like a charm.
Out of curiosity, I tried the other. The module appears to load, but it
doesn't seem to import the symbols into the global namespace.
Thank you very much for putting up with the newbie question.
Realizing that, since people will never cease trying to interfere with the
liberties of others in pursuing their own, the state can never wither away.
- Wystan H. Auden
More information about the Python-list