migrate from java to python. How?
Gerhard Häring
gerhard.haering at gmx.de
Wed Oct 2 19:54:12 EDT 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.
-- Gerhard
More information about the Python-list
mailing list