Author | Allen B. Downey |
Format | online HTML, PDF |
Price | free |
Think Python is an introduction to Python programming for beginners. It starts with basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces, like recursion and object-oriented programming are divided into a sequence of smaller steps and introduced over the course of several chapters.
Some examples and exercises are based on Swampy, a Python package written by the author to demonstrate aspects of software design, and to give readers a chance to experiment with simple graphics and animation.
Chapters include:
- The way of the program
- Variables, expressions and statements
- Functions
- Case study: interface design
- Conditionals and recursion
- Fruitful functions
- Iteration
- Strings
- Case study: word play
- Lists
- Dictionaries
- Tuples
- Case study: data structure selection
- Files
- Classes and objects
- Classes and functions
- Classes and methods
- Inheritance
- Case study: Tkinter
- Debugging
- Analysis of Algorithms
- Lumpy
Read Mirror Buy Print Edition (paid link)
As an Amazon Associate I earn from qualifying purchases made through Amazon links appearing on this website.