iPython help, Docstring [source file open failed]

Kegan kegan at kegan.info
Tue Apr 14 09:44:35 EDT 2009


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:     <type 'type'>
String Form:    <type 'datetime.timedelta'>
Namespace:      Interactive
File:           /opt/local/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/lib-dynload/datetime.so
Docstring [source file open failed]:
    Difference between two datetime values.


Lets say I want more information about timedelta right at the shell
(as oppose lookup at Python Doc). Can I somehow link the actual Python
source code to iPython so that it can be accessed in that way?

I am using macport. Please help.



More information about the Python-list mailing list