[Python] python读取文件到字节数组 →→→→→进入此内容的聊天室

来自 , 2021-04-05, 写在 Python, 查看 124 次.
URL http://www.code666.cn/view/ec26fc2e
  1. def get_bytes_from_file(filename):  
  2.     return open(filename, "rb").read()

回复 "python读取文件到字节数组"

这儿你可以回复上面这条便签

captcha