migrate from java to python. How?
gerhard.haering at gmx.de
Thu Oct 3 01:54:12 CEST 2002
Ricardo Anguiano wrote in comp.lang.python:
> "Daniel T." <a at b.c> writes:
>> try this:
>> import math
>> help( math )
>> # read the output
>> help( math.sqrt )
>> # read help on math.sqrt()
> That didn't seem to work for me. Any ideas?
> $ python2.1
You need Python >= 2.2. Alternatively, in Python 2.1.x do a:
"from pydoc import help" first.
You can put this line in your sitecustomize.py to not have to do it in
every interactive Python session.
More information about the Python-list