📜  python cat 二进制文件一起 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:01.728000             🧑  作者: Mango

代码示例1
with open("binary_file_1", "ab") as myfile, open("binary_file_2", "rb") as file2:
    myfile.write(file2.read())