Re: iPython help, Docstring [source file open failed]

2009-04-15 Thread P. Kaminski
On 15 Kwi, 03:27, alex23 wrote: > On Apr 15, 5:35 am, Przemyslaw Kaminski wrote: > > > You may want to try: > > import pydoc > > b = pydoc.render_doc(timedelta) > > print b > > Isn't this exactly the same output you get from typing 'help > (timedelta)' though? Well, from this: Lets say I want m

Re: iPython help, Docstring [source file open failed]

2009-04-14 Thread alex23
On Apr 15, 5:35 am, Przemyslaw Kaminski wrote: > You may want to try: > import pydoc > b = pydoc.render_doc(timedelta) > print b Isn't this exactly the same output you get from typing 'help (timedelta)' though? -- http://mail.python.org/mailman/listinfo/python-list

iPython help, Docstring [source file open failed]

2009-04-14 Thread R. David Murray
Kegan wrote: > I use iPython installed from macport. When I am in the iPython shell, > I do the following: > > > In [8]: from datetime import timedelta > > In [9]: timedelta?? > Type: type > Base Class: > String Form: > Namespace: Interactive > File: /opt/local

Re: iPython help, Docstring [source file open failed]

2009-04-14 Thread Przemyslaw Kaminski
Kegan wrote: > I use iPython installed from macport. When I am in the iPython shell, > I do the following: > > > In [8]: from datetime import timedelta > > In [9]: timedelta?? > Type: type > Base Class: > String Form: > Namespace: Interactive > File: /opt/local

iPython help, Docstring [source file open failed]

2009-04-14 Thread Kegan
I use iPython installed from macport. When I am in the iPython shell, I do the following: In [8]: from datetime import timedelta In [9]: timedelta?? Type: type Base Class: String Form: Namespace: Interactive File: /opt/local/Library/Frameworks/Python.framework/