Re: How to write binary data to file and socket
Lee Soin wrote: > Hello, all! > I'm new to python. In Linux C programming, writing data to file and > socket share the same system call "write". But it seems that only data > of string type can be used for "write" and "send". So how to write > b
How to write binary data to file and socket
Hello, all! I'm new to python. In Linux C programming, writing data to file and socket share the same system call "write". But it seems that only data of string type can be used for "write" and "send". So how to write binary data to file and socket? -- S