with open("test.txt", "wb") as binary_file: # Write text or bytes to the file binary_file.write("Write text by encoding\n".encode('utf8'))
確定! 回上一頁