使用子流程模块
master.py
import subprocessretpre = subprocess.call(["/usr/bin/python", "/path/to/test.py"])print "Return pre of test.py is ", retpre
欢迎分享,转载请注明来源:内存溢出
使用子流程模块
master.py
import subprocessretpre = subprocess.call(["/usr/bin/python", "/path/to/test.py"])print "Return pre of test.py is ", retpre
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)