unsigned 32 bit arithmetic type?

Robin Becker robin at reportlab.com
Wed Oct 25 06:56:06 EDT 2006


Travis E. Oliphant wrote:
> Robin Becker wrote:
........
> NumPy defines an array and an array scalar for all signed and unsigned 
> integers defined in C.
> 
> import numpy as nx
> type(nx.array([1,2,3],dtype=nx.uint32)[0])
> 
> <type 'numpy.uint32'>

great, but do we have a pure python version?
-- 
Robin Becker




More information about the Python-list mailing list