Robert Kern wrote:
 >>> from numpy import *
 >>> y = [116, 114, 121, 32, 116, 104, 105, 115]
 >>> a = array(y, dtype=uint8)
 >>> z = a.tostring()
 >>> z
'try this'



Very nice!  Thanks also to Paul and Travis!
Alan Isaac


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to