[Tutor] optimization: faster than for

Eike Welk eike.welk at gmx.net
Mon Jul 2 08:41:51 CEST 2007


On Sunday 01 July 2007 23:53, Alan Gauld 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 is IPython. I like it because it has better help, syntax coloring 
and it plays well with Matplotlib.

Regards,
Eike.


More information about the Tutor mailing list