Encryption with Python

Peter Hansen peter at engcorp.com
Wed Jun 23 18:49:48 CEST 2004


Paul Rubin wrote:

> Peter Hansen <peter at engcorp.com> writes:
>>the cost of converting that to 32-bit (presumably using array.array still?) ....

> There's no special conversion needed, just use array.array('L', whatever)
> instead of array.array('B', whatever), if I remember right.

Cool!  I didn't realize you could initialize effectively any
array object from a string as well as a list.  Never too late
to read the docs...  :-)

-Peter



More information about the Python-list mailing list