in that case, can we talk about what this is?

import array

def f7(list):
   return array.array('B', list).tostring()

f7([97, 98, 99])

Out[6]:'abc'


It's only one line, and it's faster than for(), getting through this one
might just end my quest for
optimized python source code. (then i ll begin the hacking on the psycho and
things ...)

so,   array is a module,  and then from that, a function called array is
called, and then
tostring,


ugh,

what does it mean ?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to