I am using Eclipse with Pydev 1.5.7 installed. I am also using Python 2.5. By default, Pydev compiles to .pyc. How do I make it compile to .pyo by default
或者在运行配置对话框中添加PYTHONOPTIMIZE = 2
作为环境变量。
我不认为您可以将 pydev 默认为 .pyo,但您始终可以将“-O”作为运行配置中的 VM 参数传递。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.