python下编译py成pyc和pyo
摘要:
其实很简单,用python -m py_compile file.py python -m py_compile /root/src/{file1,file2}.py编译成pyc文件。也可以写份脚本来做这事:Code: 用python -O -m py_compile file.py 编译成pyo文 阅读全文
posted @ 2016-08-25 23:08 生龙活虎1986 阅读(261) 评论(0) 推荐(0)
浙公网安备 33010602011771号