1.最常用的sys.argv[],这个不多谈 2.形如 输出: code: Read More
posted @ 2017-05-16 22:03
dahu1
Views(2024)
Comments(0)
Diggs(0)
Python -> shell: 参考文章 1.环境变量 2.字符串连接 3.通过管道 import os var=’123’ os.popen(’wc -c’, ’w’).write(var) 4.通过文件 output = open(‘/tmp/mytxt’, ‘w’) output.write Read More
posted @ 2017-05-16 09:37
dahu1
Views(931)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号