- [Mon May 11 22:00 2015]
Some more slides that we did not use in class:
- [Mon May 11 22:00 2015]
Object-oriented programs shown in class:
- [Mon May 11 19:45 2015]
Some slides from past semesters. We used the slides on object-oriented
programming. The other slides contain topics we discussed.
- [Mon Apr 27 11:30 2015]
Some programs shown in class that test the running times of
linear search, binary search, Bubble Sort and Quicksort:
sort.
- [Mon Apr 27 11:17 2015]
Some programs shown in class that test the running times of various
Python data structures: runtime.
- [Mon Apr 27 11:02 2015]
Slides on Python's built-in data structures: 15 DataStructures - Chang.pptx
- [Tue Apr 14 13:15 2015]
Some slides used in class:
- [Tue Apr 14 13:15 2015]
Some programs shown in class: recurse.
- [Wed Apr 01 01:58 2015]
Some programs shown in class:
- A program that prints out a yearly calendar:
calendar.py.
- Programs that demonstrate the curses module:
curses examples.
- Programs that demonstrate the graphics module
by developing a "snake" program:
snake programs.
- [Tue Mar 10 12:48 2015]
Midterm exam topics
- [Thu Feb 26 15:03 2015]
Some programs shown yesterday. Here's a series explaining local vs
global scope:
global01.py,
global02.py,
global03.py,
global04.py,
global05.py,
global06.py,
global07.py,
global08.py,
global09.py and
global10.py.
Here is a series showing a failed attempt at modifying
a global variable passed as a parameter. This is to
show that parameters are local:
scope1.py,
scope2.py,
scope3.py,
scope4.py,
scope5.py and
scope6.py.
These two show how to return multiple values from a program:
multiple_return1.py,
and
multiple_return2.py.
- [Thu Feb 26 15:03 2015]
Slide on functions:
09 Functions - Chang.pptx
- [Fri Feb 20 09:45 2015]
Additional slides on lists:
08 Lists - Chang.pptx
- [Fri Feb 20 09:45 2015]
Some programs explained in class on Thursday.
Print without printing a newline:
Using nested for loops to "draw" boxes:
Using nested for loops to "draw" lines:
Using nested for loops to "draw" a parabola:
Displaying a sine wave on the screen:
- [Wed Feb 18 08:45 2015]
Get list of slides.
- [Wed Feb 18 08:45 2015]
Reorganized naming of some slides:
- [Thu Feb 12 14:40 2015]
Some programs using exceptions shown today. (links updated)
- [Wed Feb 11 23:45 2015]
More slides:
-
07 Lists - Chang.pptx (renamed)
-
06.a Exceptions - Chang.pptx (renamed)
-
06 Loops - Chang.pptx (renamed)
- [Tue Feb 10 14:47 2015]
Updated 05 Decisions - Chang.pptx
- [Thu Feb 05 22:17 2015]
Updated 04 Expressions - Chang.pptx.
- [Thu Feb 05 08:10 2015]
More slides:
- [Tue Feb 03 11:00 2015]
Slides for Lectures 2 and 3:
- [Tue Jan 27 14:45 2015]
Modified slides shown today:
- [Sat Jan 24 12:00 2015]
If you are downloading the Think Python book,
make sure you get
the version for Python 3.0
.
- [Sat Jan 24 12:00 2015]
Web page up.