Re: Which version of python I should use if I just start programming in python?

2009-09-13 Thread Kegan
I have just started using 2.6 (upgrade from 2.5). All my web
applications' code (using Django), work without any changes.
-- 
http://mail.python.org/mailman/listinfo/python-list


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: 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.
--
http://mail.python.org/mailman/listinfo/python-list