[Tutor] optimization: faster than for

elis aeris hunter92383 at gmail.com
Sun Jul 1 23:24:32 CEST 2007


so this is the actual code?



[4]:import array
[5]:def f7(list):
.5.:  return array.array('B', list).tostring()
.5.:
[6]:f7([97, 98, 99])




Output on the screen:


[6]:'abc'- Hide quoted text -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070701/fdfd22a0/attachment.htm 


More information about the Tutor mailing list