Can't load bytecode with execfile ?

Bo Jacobsen bo at systemhouse.dk
Tue Jan 25 22:01:27 EST 2005


I have a number of files compiled to bytecode using py_compile.compile().
The .pyc files can be invoked by python directly ($python file.pyc), but
"loading" them by execfile just throws an exception ?

Any suggestions

Bo.





More information about the Python-list mailing list