python下编译py成pyc和pyo
摘要:其实很简单,用python -m py_compile file.pypython -m py_compile /root/src/{file1,file2}.py编译成pyc文件。也可以写份脚本来做这事:Code:import py_compile py_compile.compile('path...
阅读全文
posted @ 2015-10-23 11:29
** 学习笔记记录,精彩博文收录 **
posted @ 2015-10-23 11:29
posted @ 2015-07-23 10:57