import this

来源:互联网 发布:淘宝买家信息收集器 编辑:程序博客网 时间:2024/06/17 23:58
可以直接输入 python -m this 来引入,也可以使用 os 模块os 模块可以直接在程序中执行命令行。然今用read() 方法把结果拿出来 。>>> m = os.popen('python -m this','').read()

0 0