国庆在家没事,看到python中的import this挺好玩,打开this.py,里面做了些加密。
学习了下,模仿写了个中文版pythis.py,大家看看能不能用。
安装:
pip install pythis
运行:
python中:
import pythis
有什么问题,请指出,呵呵!
学习了下,模仿写了个中文版pythis.py,大家看看能不能用。
安装:
pip install pythis
运行:
python中:
import pythis
有什么问题,请指出,呵呵!

1 phuslu Oct 11, 2014 sys.setdefaultencoding('utf-8') 这一句影响全局,差评,呵呵。 |
2 phuslu Oct 11, 2014 EIBTI 推荐翻译是 "明言胜于暗示" |
3 limbo0 Oct 11, 2014 # -*- coding=utf-8 -*- 为什么还要加sys.setdefaultencoding('utf-8') 啊 |
4 totoismi OP |
5 NCE Oct 11, 2014 貌似 # -*- coding=utf-8 -*- 后还是有必要加sys.setdefaultencoding('utf-8') 的 不然操作数据会有问题。 起码我用cmd执行脚本是有问题的。 |
6 yxzblue Oct 11, 2014 1楼,没看错的话是GoAgent作者啊,膜拜感谢大神 |
8 leeoo Oct 12, 2014 Python 3.4.1下执行报错~ |