t="abc"
with open("test.bin","wb") as f:
f.write(t)
f.close()
注意写的是.bin文件
t="abc"
with open("test.bin","wb") as f:
f.write(t)
f.close()
注意写的是.bin文件