Re: ipython question

2010-05-19 Thread Terry Reedy
On 5/19/2010 4:14 PM, superpollo wrote: In [219]: %save tmp.py 218 File `tmp.py` exists. Overwrite (y/[N])? y The following commands were written to file `tmp.py`: def f(): return 42 In [220]: !cat tmp.py def f(): return 42 In [221]: %psource f No source found for f maybe i got it: In [230

Re: ipython question

2010-05-19 Thread Robert Kern
On 5/19/10 3:10 PM, superpollo wrote: Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list

Re: ipython question

2010-05-19 Thread superpollo
superpollo ha scritto: Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mai

Re: ipython question

2010-05-19 Thread superpollo
Robert Kern ha scritto: On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mail.scipy.org/mailman/list

Re: ipython question

2010-05-19 Thread Robert Kern
On 5/19/10 12:11 PM, superpollo wrote: In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... You will want to ask IPython questions on the IPython mailing list: http://mail.scipy.org/mailman/listinfo/ipython-user The re

ipython question

2010-05-19 Thread superpollo
In [39]: def f(): : return 42 : In [40]: %psource f No source found for f In [41]: i expected to see the source... -- http://mail.python.org/mailman/listinfo/python-list