[Tutor] Precompiling to bytecode

Smith, Jeff jsmith at medplus.com
Thu Feb 24 15:04:25 CET 2005

I notice that python only pre-compiles imported modules and not the main
script.  The only way I seem to be able to get this to happen is to run

python -c "import mainscript"

Am I missing something?


More information about the Tutor mailing list