批量编译 Python 文件


>>> import compileall
>>> compileall.compile_dir(r'your_path_to_python_files')

posted @ 2016-06-24 11:18  藥師  阅读(253)  评论(0)    收藏  举报