iPython help, Docstring [source file open failed]
R. David Murray
rdmurray at bitdance.com
Wed Apr 15 02:35:43 CEST 2009
Kegan <kegan at kegan.info> wrote:
> I use iPython installed from macport. When I am in the iPython shell,
> I do the following:
> In : from datetime import timedelta
> In : timedelta??
> Type: type
> Base Class: <type 'type'>
> String Form: <type 'datetime.timedelta'>
> Namespace: Interactive
> File: /opt/local/Library/Frameworks/Python.framework/
> 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?
Notice that the filetype is '.so'. That means it is a compiled
C module, so there is no python source to view.
R. David Murray http://www.bitdance.com
More information about the Python-list