How to Think Like a Computer Scientist¶
Learning with Python 3 (RLE)¶
Version date: October 2012
by Peter Wentworth, Jeffrey Elkner, Allen B. Downey, and Chris Meyers
(based on 2nd edition by Jeffrey Elkner, Allen B. Downey, and Chris Meyers)
Corresponding author: p.wentworth@ru.ac.za
Source repository is at https://code.launchpad.net/~thinkcspy-rle-team/thinkcspy/thinkcspy3-rle
For offline use, download a zip file of the html or a pdf version (the pdf is updated less often) from http://www.ict.ru.ac.za/Resources/cspw/thinkcspy3/
Preface-3 This Rhodes Local Edition (RLE) of the book
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 Case Study: A File Indexer
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
Appendix A Debugging
Appendix B An odds-and-ends Workbook
Appendix C Configuring Ubuntu for Python Development
Appendix D Customizing and Contributing to the Book
Appendix E Some Tips, Tricks, and Common Errors