array{uint32}

Daniel Nogradi nogradi at gmail.com
Wed Apr 18 10:23:09 EDT 2007


> I have a function that returns a array{uint32}, is there any way to output
> that to screen in a more user friendly format? At the moment when I print it
> by itself it appears as [65541L], which isn't much used to anyone.

I'm not sure I understand your question precisely but this might help:

>>> mylist = [65541L]
>>> mylist
[65541L]
>>> mylist[0]
65541L
>>> int(mylist[0])
65541
>>>



More information about the Python-list mailing list