struct.pack returns nothing

andmarti at gmail.com andmarti at gmail.com
Mon Mar 19 06:37:32 CET 2007


On Sun, Mar 18, 2007 at 10:22:45PM -0700, AWasilenko at gmail.com wrote:
> On Mar 19, 1:12 am, andma... at gmail.com wrote:
> > If I build a strict with:
> >
> > import struct
> > print struck.pack ('i', 1)
> >
> > it returns a '\n'.
> > What's wrong with it???
> > :(
> >
> > --
> > Andrés M.
> > ---------------------------------------------
> 
> Looks like you spelled struct wrong in the code :)

You're right. I meant struct there too. heh.
-- 
Andrés M.
---------------------------------------------



More information about the Python-list mailing list