Python Notes44:Python调用Linux

Python Notes44:Python调用Linux

Demo

import os # cmd = "ls" cmd_velocity = '/opt/cwp/src/demos/NMO/Xvelocity' os.system(cmd_velocity)