批量编译 Python 文件


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

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