python 去掉 pyc
2015-09-06 11:33
281 查看
python 去掉 .pyc
在开发的机器上(Ubuntu),python自动生成的pyc文件太影响心情,把下面的语句添加到/etc/profile中:
# do not produce .pyc
export PYTHONDONTWRITEBYTECODE=x
使生效:
# source /etc/profile
删除 .pyc 文件,再也看不到这些东西了.
相关文章推荐
- python 去掉 pyc
- 安装mysql-python错误python version2.7 required,which was not found in the registry.
- paramiko scp
- Python 库之SRE正则表达式 re 源码
- python 临时变量使用心得
- python 爬虫总结(一)
- python_面向对象
- python中json到dict转换
- 基python实现多线程网页爬虫
- python杀死一个线程的方法
- IDLE & IPython & 离线文档 & 优先级记忆口诀心法
- Python开发入门与实战19-Windows Azure web 应用部署
- python中__name__=='__main__'的作用
- python+opencv2生成随机字母
- [Python爬虫] Selenium获取百度百科旅游景点的InfoBox消息盒
- 条件、循环和其他语句——Python学习系列之三
- Python学习01
- Python实现的朴素贝叶斯算法经典示例【测试可用】
- Python性能优化的20条建议
- python学习笔记——连接Access数据库