Richard G Baldwin Programming Tutorials

Python Programming Tutorial

Table of Contents 

If you find the links to any of my tutorials broken, you might try either:

  1. Going to Google or Bing and searching the web for pages having the same title, or

  2. Going to More articles by Richard G. Baldwin at and searching that page for the tutorial by title.

One of those two options is almost certain to lead you to a copy of the tutorial.

The New Face of Computer Science Education - The Scratch Generation

0001 Lesson 1, Getting Started 
0004 Let's Do Numbers 
0008 Variables and Identifiers 
0012 Strings, Part I
0016 Writing and Using Scripts
0020 Program Construction
0024 Strings, Part II
0028 Lists, Part I
0032 Lists, Part II
0036 Tuples, Index and Slice
0040 Nested Tuples
0044 Empty and Single-Item Tuples
0048 Unpacking Tuples
0052 Indexing Nested Tuples
0056 Slicing Nested Tuples
0060 Indirection
0064 Getting Started with Dictionaries
0068 Valid Keys, Key Lists, Iteration
0072 Using Tuples as Keys
0076 Nesting, Sorting, Deleting, and Membership Testing Dictionary Elements


Richard G Baldwin, 

DISCLAIMER: To the best of my knowledge, all of the program code embedded in these HTML files was originally correct. However, over time, these HTML files have been processed through a variety of website content management programs. Sometimes, such programs are not friendly to embedded code, and arbitrarily remove characters such as angle brackets, square brackets, backslashes, etc. Therefore, you may occasionally find some code that has missing characters. If so, just insert them back into the code before you attempt to compile and execute the code.

[ Home

© 1996 - 2009 Richard G. Baldwin