[IPython-dev] timeit bug

Ville M. Vainio vivainio at gmail.com
Thu Sep 21 04:48:45 CDT 2006


On 9/21/06, Ville M. Vainio <vivainio at gmail.com> wrote:

> On 9/15/06, Stefan van der Walt <stefan at sun.ac.za> wrote:
>
> Hi,
>
> If you need this to work quickly, do
>
> timeit print(\'x\')
>
> i.e. escape the quotes.

Or (of course):

timeit "print('x')"

timeit "print 'x'"

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list