How to write binary data to file and socket
Lee Soin
nomadoro at gmail.com
Fri Dec 12 07:11:46 EST 2008
More information about the Python-list mailing list
Fri Dec 12 07:11:46 EST 2008
- Previous message (by thread): File names, character sets and Unicode
- Next message (by thread): How to write binary data to file and socket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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? -- Sun Li Department of Physics Nanjing University, China -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20081212/d18be0e9/attachment.html>
- Previous message (by thread): File names, character sets and Unicode
- Next message (by thread): How to write binary data to file and socket
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list