12 Jul 23:09
Re: Some starting-out IPython questions
From: Ryan James <rgjames <at> ucdavis.edu>
Subject: Re: Some starting-out IPython questions
Newsgroups: gmane.comp.python.ipython.user
Date: 2008-07-12 21:09:41 GMT
Subject: Re: Some starting-out IPython questions
Newsgroups: gmane.comp.python.ipython.user
Date: 2008-07-12 21:09:41 GMT
On Sat, 2008-07-12 at 06:53 -0700, Dick Moores wrote:
> 2. I see that timeit can be used this way:
> In [22]: timeit x = 2; x**x
> 10000000 loops, best of 3: 201 ns per loop
>
> But how to use it with, say,
>
> for x in range(1000):
> x**x
>
def f():
for x in range(1000):
x**x
timeit f()
> 3. What does
> ipython -quick
> do?
>
> I found this in my C:\Documents and Settings\Riley\_ipython\ipythonrc.ini:
>
> # quick 1 -> same as ipython -quick
> quick 1
>
> I changed it to 0 to see if I could see the difference. I
> couldn't--possibly because I didn't know what to look for. So, what
> does ipython -quick do?
>
doesn't load any config files. for a full list of command line options,
you can check out the documentation:
http://ipython.scipy.org/doc/manual/index.html#regular-options
>
> Thanks,
>
> Dick Moores
> _______________________________________________
> IPython-user mailing list
> IPython-user <at> scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
-ryan
RSS Feed