Book Description
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
Chapter 1
The way of the program
Chapter 2
Variables, expressions and statements
Chapter 3
Hello, little turtles!
Chapter 4
Functions
Chapter 5
Conditionals
Chapter 6
Fruitful functions
Chapter 7
Iteration
Chapter 8
Strings
Chapter 9
Tuples
Chapter 10
Event handling
Chapter 11
Lists
Chapter 12
Modules
Chapter 13
Files
Chapter 14
List Algorithms
Chapter 15
Classes and Objects - the Basics
Chapter 16
Classes and Objects - Digging a little deeper
Chapter 17
PyGame
Chapter 18
Recursion
Chapter 19
Exceptions
Chapter 20
Dictionaries
Chapter 21
A Case Study: Indexing your files
Chapter 22
Even more OOP
Chapter 23
Collections of objects
Chapter 24
Inheritance
Chapter 25
Linked lists
Chapter 26
Stacks
Chapter 27
Queues
Chapter 28
Trees