Python is a fun and extremely easy-to-use programming language that has steadily gained in popularity over the last few years. Developed over ten years ago by Guido van Rossum, Python's simple syntax and overall feel is largely derived from ABC, a teaching language that was developed in the 1980's.
However, Python was also created to solve real problems and it borrows a wide variety of features from programming languages such as C++, Java, Modula-3, and Scheme. Because of this, one of Python's most remarkable features is its broad appeal to professional software developers, scientists, researchers, artists, and educators.
Despite Python's appeal to many different communities, you may still wonder why Python? or why teach programming with Python? Answering these questions is no simple task - especially when popular opinion is on the side of more masochistic alternatives such as C++ and Java. However, I think the most direct answer is that programming in Python is simply a lot of fun and more productive.
This open book is licensed under a GNU Free Documentation License (GNU FDL). You can download Learn Python the right way ebook for free in PDF format (5.0 MB).
Table of Contents
The way of the program
Variables, expressions and statements
Hello, little turtles!
Classes and Objects - the Basics
Classes and Objects - Digging a little deeper
A Case Study: Indexing your files
Even more OOP
Collections of objects