[Tutor] stuck again - socket connection

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Tue Feb 7 19:43:14 CET 2006



> from the docs, the byte stream is supposed to look like this:
>
[problem cut]
>
> so..... how do i make 200 occupy 4 bytes ?


Hi Nephish,

Have you had a chance to look at the 'struct' module yet?

    http://www.python.org/doc/lib/module-struct.html



More information about the Tutor mailing list