import os import shutil vendor_file = os.getcwd() def remove_file(): print("copy zos.bin") shutil.copy("./zos.bin", "../../out/QS-200") if __name__ == '__main__': remove_file() print('SDK编译完成,正在生成固件')