Books & Videos

Table of Contents

  1. Learning to Program

    1. Chapter 1 Not All Snakes Slither

      1. A Few Words About Language
      2. Installing Python
      3. Once You’ve Installed Python
      4. Saving Your Python Programs
      5. What You Learned
    2. Chapter 2 Calculations and Variables

      1. Calculating with Python
      2. Variables Are Like Labels
      3. Using Variables
      4. What You Learned
    3. Chapter 3 Strings, Lists, Tuples, and Maps

      1. Strings
      2. Lists Are More Powerful Than Strings
      3. Tuples
      4. Python Maps Won’t Help You Find Your Way
      5. What You Learned
      6. Programming Puzzles
    4. Chapter 4 Drawing with Turtles

      1. Using Python’s turtle Module
      2. What You Learned
      3. Programming Puzzles
    5. Chapter 5 Asking Questions with if and else

      1. if Statements
      2. if-then-else Statements
      3. if and elif Statements
      4. Combining Conditions
      5. Variables with No Value—None
      6. The Difference Between Strings and Numbers
      7. What You Learned
      8. Programming Puzzles
    6. Chapter 6 Going Loopy

      1. Using for Loops
      2. While We’re Talking About Looping . . .
      3. What You Learned
      4. Programming Puzzles
    7. Chapter 7 Recycling Your Code with Functions and Modules

      1. Using Functions
      2. Using Modules
      3. What You Learned
      4. Programming Puzzles
    8. Chapter 8 How to Use Classes and Objects

      1. Breaking Things into Classes
      2. Other Useful Features of Objects and Classes
      3. Initializing an Object
      4. What You Learned
      5. Programming Puzzles
    9. Chapter 9 Python’s Built-in Functions

      1. Using Built-in Functions
      2. Working with Files
      3. What You Learned
      4. Programming Puzzles
    10. Chapter 10 Useful Python Modules

      1. Making Copies with the copy Module
      2. Keeping Track of Keywords with the keyword Module
      3. Getting Random Numbers with the random Module
      4. Controlling the Shell with the sys Module
      5. Doing Time with the time Module
      6. Using the pickle Module to Save Information
      7. What You Learned
      8. Programming Puzzles
    11. Chapter 11 More Turtle Graphics

      1. Starting with the Basic Square
      2. Drawing Stars
      3. Drawing a Car
      4. Coloring Things In
      5. A Square-Drawing Function
      6. Drawing Filled Squares
      7. Drawing Filled Stars
      8. What You Learned
      9. Programming Puzzles
    12. Chapter 12 Using tkinter for Better Graphics

      1. Creating a Clickable Button
      2. Using Named Parameters
      3. Creating a Canvas for Drawing
      4. Drawing Lines
      5. Drawing Boxes
      6. Drawing Arcs
      7. Drawing Polygons
      8. Displaying Text
      9. Displaying Images
      10. Creating Basic Animation
      11. Making an Object React to Something
      12. More Ways to Use the Identifier
      13. What You Learned
      14. Programming Puzzles
  2. Bounce!

    1. Chapter 13 Beginning Your First Game: Bounce!

      1. Whack the Bouncing Ball
      2. Creating the Game Canvas
      3. Creating the Ball Class
      4. Adding Some Action
      5. What You Learned
    2. Chapter 14 Finishing Your First Game: Bounce!

      1. Adding the Paddle
      2. Adding an Element of Chance
      3. What You Learned
      4. Programming Puzzles
  3. Mr. Stick Man Races for the Exit

    1. Chapter 15 Creating Graphics for the Mr. Stick Man Game

      1. Mr. Stick Man Game Plan
      2. Getting GIMP
      3. Creating the Game Elements
      4. What You Learned
    2. Chapter 16 Developing the Mr. Stick Man Game

      1. Creating the Game Class
      2. Creating the Coords Class
      3. Checking for Collisions
      4. Creating the Sprite Class
      5. Adding the Platforms
      6. What You Learned
      7. Programming Puzzles
    3. Chapter 17 Creating Mr. Stick Man

      1. Initializing the Stick Figure
      2. Turning the Stick Figure Left and Right
      3. Making the Stick Figure Jump
      4. What We Have So Far
      5. What You Learned
    4. Chapter 18 Completing the Mr. Stick Man Game

      1. Animating the Stick Figure
      2. Testing Our Stick Figure Sprite
      3. The Door!
      4. The Final Game
      5. What You Learned
      6. Programming Puzzles
  1. Appendix Where to Go from Here

    1. Games and Graphics Programming

    2. Programming Languages

    3. Final Words

  2. Appendix Python Keywords

  3. Glossary

  4. Updates