compiling python code

29

import py_compile

py_compile.compile("mymodule.py")
import compileall

compileall.compile_dir("mylib", force=1)

Comments

Submit
0 Comments