Re: code of a function

2008-05-30 Thread Pete Forman
alex23 <[EMAIL PROTECTED]> writes: > Which is very handy, like most of IPython. +1 QOTW -- Pete Forman-./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not represent [EMAIL PROTECTED]-./\.- the opinion of Schlumberger or h

Re: code of a function

2008-05-29 Thread alex23
On May 30, 8:54 am, Alan Isaac <[EMAIL PROTECTED]> wrote: > Anand Patil wrote: > > If you're using IPython, you can do svd?? . > > http://www.scipy.org/doc/numpy_api_docs/numpy.linalg.linalg.html > > hth, > Alan Isaac That wasn't a question :) In IPython, '?' is roughly equivalent to 'help()', whe

Re: code of a function

2008-05-29 Thread Alan Isaac
Anand Patil wrote: If you're using IPython, you can do svd?? . http://www.scipy.org/doc/numpy_api_docs/numpy.linalg.linalg.html hth, Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list

Re: code of a function

2008-05-29 Thread Anand Patil
On May 29, 2008, at 9:38 AM, Gary Herron wrote: Dark Wind wrote: Hi, Is there any command in Python which gives the code for a function like just typing the name of a function (say svd) in R returns its code. Thank you Nope. If you're using IPython, you can do svd?? . -- http://mail

Re: code of a function

2008-05-29 Thread Christian Heimes
Dark Wind schrieb: > Hi, > > Is there any command in Python which gives the code for a function like just > typing the name of a function (say svd) in R returns its code. Yes, it's posible to retrieve the source code IFF the function is implemented in Python and the .py file is available, too. >

Re: code of a function

2008-05-29 Thread Anand Patil
On Thu, May 29, 2008 at 9:10 AM, Dark Wind <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any command in Python which gives the code for a function like > just typing the name of a function (say svd) in R returns its code. > > Thank you > If you're using IPython, you can type svd?? . -- http://mai

Re: code of a function

2008-05-29 Thread Gary Herron
Dark Wind wrote: Hi, Is there any command in Python which gives the code for a function like just typing the name of a function (say svd) in R returns its code. Thank you Nope. -- http://mail.python.org/mailman/list