On Sun, Mar 18, 2007 at 10:22:32PM -0700, Alex Martelli wrote: > <[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!-)
Im getting nothing as well. The unpack seems to work fine though. -- Andrés M. --------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list