includes on an exec?

berklee just berklee (@) berkleehotmail.com
Thu Oct 23 11:01:38 EDT 2003


I want to run a code module by loading the code as any other text file, and
then calling exec() on its contents.

For some reason, Python doesn't seem to find the includes that are
referenced in the script being called.

I tried dropping it into the Python 'lib' folder, and in the same folder as
my script, neither seems to work?

Any suggestions?






More information about the Python-list mailing list