<[EMAIL PROTECTED]> wrote:

> If I build a strict with:
> 
> import struct
> print struck.pack ('i', 1)
> 
> it returns a '\n'.
> What's wrong with it???
> :(

You're trying to print a binary string that's hardly printable as-is.
Try printing its repr(...) and you'll see all the binary zeros and one
you crave!-)


Alex

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to