在Python中运行Bash命令
bashCommand = "cwm --rdf test.rdf --ntriples > test.nt"os.system(bashCommand)
'import site' failed; use -v for tracebackTraceback (most recent call last):File "/usr/bin/cwm", line 48, in <module>from swap import diagImportError: No module named swap
print bashCommandos.system().
os.system(bashCommand)
开心每一天1111
随时随地看视频慕课网APP
相关分类