f = open("myfile.jpg", "rb"). In-memory binary streams are also available as BytesIO objects: f = io.BytesIO(b"some initial binary data: \x00\x01").
確定! 回上一頁