python中执行shell命令

it2025-01-20  17

执行cp命令

将cfn5e10_1.lp 复制到 参数变量 newfile中:

import os newfile="/home/data/" os.system("cp cfn5e10_1.lp " + newfile)

参考:https://www.cnblogs.com/wqbin/p/11759396.html 

最新回复(0)