The py_compile
module, shown in Example 13-10, allows you to explicitly compile Python modules to
bytecode. It behaves like Python’s import
statement, but takes a filename, not a module name.
The compileall
module can be used to compile all Python files in an entire directory
tree.
3.142.12.207