documentation

Bruno Desthuilliers bdesth.tagada at tsoin-tsoin.free.fr
Thu Dec 18 05:38:02 EST 2003


km wrote:
> Hi all,
> i am coming from a Perl background. i am now learning python.
> suppose in Perl, to look at the perdocumentation page for variables in perl one can get the info by invoking perldoc perlvar. how to search for same in Python ? 
> kindly enlighten,
> thanks,
> KM
> 

Python 2.3.2 (#1, Oct 27 2003, 01:23:54)
[GCC 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> def myFun():
...     """ print 42 and return None """
...     print 42
...
 >>> help(myFun)

HTH
Bruno





More information about the Python-list mailing list