migrate from java to python. How?

Daniel T. a at b.c
Wed Oct 2 14:16:12 CEST 2002


"2cents" <2cents at yahoo.com> wrote:

> I'm new to Python and I'm a Java programmer.
> 
> Can anyone recommend me a documentation/book to learn python for java
> programmer.
> I'm having some difficulties reading the python API (or I may have
> downloaded a wrong API).
> 
> in Java, you can browse through packages and find classes, and then the
> methods/variables.
> But in python, there is only library reference
> http://www.python.org/doc/current/lib/lib.html
> Is there any complete API documentation as can be found in JAVA?

try this:

import math
help( math )
# read the output
help( math.sqrt )
# read help on math.sqrt()



More information about the Python-list mailing list