rluks rluks - 10 days ago 12
Python Question

Should I "Compile .py Files to Byte Code after Installation"?

I'm installing Python 3.2 32bit on Win7 machine, there is the following option:


Compile .py Files to Byte Code after Installation


Should I leave option unchecked or is the compilation recommended?

Answer

Since the bytecode is unlikely to change regardless of how many times it is compiled, the interpreter can take advantage of the small speedup gain. Unless you are very short of hard drive space, you should select this option.

Comments