[Tutor] optimization: faster than for

John Fouhy john at fouhy.net
Mon Jul 2 00:12:12 CEST 2007


On 02/07/07, Alan Gauld <alan.gauld at btinternet.com> wrote:
>
> "elis aeris" <hunter92383 at gmail.com> wrote
>
> >> In [4]:import array
> >> In [5]:def f7(list):
> >>    .5.:  return array.array('B', list).tostring()
> >>    .5.:
> >>
> >> In [6]:f7([97, 98, 99])
> >> Out[6]:'abc'
> I can't remember which tool does this - IronPython maybe?

It's IPython -- http://ipython.scipy.org/moin/

-- 
John.


More information about the Tutor mailing list