how many bytes in an int

Grant Edwards grante at visi.com
Mon Aug 9 17:48:34 CEST 2004


On 2004-08-09, Richard Brodie <R.Brodie at rl.ac.uk> wrote:
>
> "Grant Edwards" <grante at visi.com> wrote in message
> news:41178bde$0$8077$a1866201 at newsreader.visi.com...
>
>> Like the man said, "struct" doesn't convert to-from integers of
>> specified byte lengths.
>
> It does if you ask it to.

By guessing formats and calculating sizes? Or is there a way to
ask for an N-byte integer that I missed?

-- 
Grant Edwards                   grante             Yow!  .. this must be what
                                  at               it's like to be a COLLEGE
                               visi.com            GRADUATE!!



More information about the Python-list mailing list