Sunday, February 20, 2011

py_compile

将 py 的源文件编译成为 pyc 的 byte code。


import py_compile
py_compile.compile( 'some.py' )

No comments:

Post a Comment