小编jac*_*cin的帖子

python3 -O file.py没有创建file.pyo

我写了一个简单的脚本test.py,包含:

print('hello')
Run Code Online (Sandbox Code Playgroud)

然后用python -O test.py它来运行它.我希望这能创建一个test.pyo文件,但事实并非如此.

我的版本是Python 3.5.2.为什么没有创建缓存文件?

python bytecode python-3.x pyo

2
推荐指数
1
解决办法
716
查看次数

标签 统计

bytecode ×1

pyo ×1

python ×1

python-3.x ×1