Encryption with Python

Peter Hansen peter at engcorp.com
Wed Jun 23 12:49:48 EDT 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