Python for Java programmers

wiki by IrmenDeJong

Hello and welcome on this website. My goal is to describe the Python language to you people who already mastered programming in Java. This saves me from explaining basic programming concepts and other things such as object orientated concepts, threads, and the basics of I/O.

Brief introduction to Python

In PythonIntroduction you can read a bit about what Python is. You can read about why you should use Python, and look at the compulsory hello world example.

Python compared to Java

In PythonComparedToJava you can find a very condensed overview of Python compared to Java: how concepts from Java translate to Python. In tables they are compared side-to-side.

The development process

How do you write and build a working Python program? Read about that in DevelopmentProcess. About writing Python programs, importing modules, and running them trough the compiler/interpreter.

Language syntax

A more thorough description of the Python language syntax compared to Java's syntax can be studied in PythonSyntax. How does a python program look like, how do you type numbers, what operators are there.

Language concepts

A more thorough description of Python concepts compared to Java's counterparts, and concepts that are unique to Python, can be studied in PythonLanguageConcepts. What is Python's typing model (dynamic, or static?), How do you do loops in Python, how do I define classes and create my own objects.

Official Python documentation and reference manual

Python's very well documented. Have a look at the following documentation on the Official Python website:

There's even a book about learning to program, with Python: How to think like a computer scientist.

IrmenDeJong

/!\ MORE WILL FOLLOW

PythonForJavaProgrammers (last edited 2008-06-04 17:22:37 by www)