如何在python中扫描脚本以查找上层脚本的返回值?

import os

import pdb


os.system("ToBuildOrNot.py MSS_sims")


for output in os.system:

     if ToBuildOrNot is True:

         print "The MSS_sims Needs To rebuilt"


     elif ToBuildOrNot is False:

         print "The MSS_sism does NOT Need to be Rebuilt"


     else:

         print "error"


当年话下
浏览 176回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python