a good python module to execute os command: shellrun
python调用操作系统命令有多种方法,内置的有os.system, os.popen, subprocess, commands 第三方包更是五花八门很多。这里介绍一个个人比较喜欢的,原因是使用简单,可以获取执行状态,返回信息等
https://pypi.python.org/pypi/spur
教程略,一看就会,建议使用
shellrun.run_capture
sort of, I have some experience in the domain of database(MySQL/mongo), java, python, front-end, etc. I'll willing to give and accept bits of help from others.
now base in Singapore.