1
xiaket May 24, 2016 via iPhone
循环调 sh 这个库
|
2
meteor2013 OP @xiaket 能说具体点吗
|
3
dphdjy May 24, 2016 via Android
keyword: Python shell subprocess
|
4
congeec May 24, 2016
其实用 shell 最简单
python 里面 os.system 也简单粗暴 ``` Python for i in sentences: os.system('echo ' + i + ' | test.sh') ``` |
8
playniuniu May 25, 2016 python 有个第三方库就叫做 sh , pip install sh 自己看看官方文档,非常方便
|
9
sleshep May 31, 2016
popen
|