python删除某个文件

cmd = r'python %s/assets/export_asset_tree.py'%(PROJECT_ROOT) //%s为变量  %(PROJECT_ROOT) 为变量值
filePath = "/tmp/exportTree.xls";   
os.system(cmd)

你可能感兴趣的:(日常总结--python)