import osfor i in range(100): os.system("python sim_human_dyn_walk.py "+ args) 或者execfile("sim_human_dyn_walk.py",args)