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
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
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