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?
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?
Comment