Topic | Text | HW | Other Documents | Python Scripts | Outside Resources |
---|---|---|---|---|---|
Introduction | Ch. 1 | Assign. 1 |
|
||
Numbers and variables; Simple input |
Ch. 2 | Assign. 2 |
|
hw.py hw_firstExercise.py inputtingNumbers.py |
http://docs.python.org/2/library/stdtypes.html http://www.youtube.com/watch?v=LBJWWjDc7wM&list=PL4E68ACF14ABB47AC Tutorials 2 and 3 https://www.khanacademy.org/science/computer-science/v/introduction-to-programs-data-types-and-variables has a gentle introduction to variables and types. |
Functions | Ch. 3 | Assign. 3 |
|
doubliny.py functionCalls.py |
http://docs.python.org/2/library/functions.html has built-in functions http://docs.python.org/2/library/stdtypes.html#string-methods has string functions http://www.youtube.com/watch?v=LBJWWjDc7wM&list=PL4E68ACF14ABB47AC Tutorials 4, 6, and 7 |
Boolean logic and if statements |
Ch. 4 | Assign. 4 |
|
stopSign.py |
http://www.youtube.com/watch?v=fJk5yWuI0gY on truth tables http://www.youtube.com/watch?v=LBJWWjDc7wM&list=PL4E68ACF14ABB47AC Tutorials 20-24 |
Loops | Ch. 5 | Assign. 5 |
|
forLoops.py transcribing3.py stopTest2.py |
http://www.youtube.com/watch?v=LBJWWjDc7wM&list=PL4E68ACF14ABB47AC Tutorial 25 http://www.astro.ufl.edu/~warner/prog/python.html has a good summary of what we have discussed so far. http://docs.python.org/2/library/functions.html#range has the documentation on range for for loops. https://www.khanacademy.org/science/computer-science/v/for-loops-in-python has a gentle introduction to for loops. and https://www.khanacademy.org/science/computer-science/v/while-loops-in-python has while loops. |
More Functions |
Ch. 6, end of Ch. 3 |
Assign. 6 |
|
buddyFunctions.py nestedFunctions 1.py nestedFunctions2.py nestedFunctions1a.py nestedFunctions3.py functionsGoodAndEvil.py variable_scope_part1.py nestedFunctions3a.py testScope.py |
http://www.saltycrane.com/blog/2008/01/python-variable-scope-notes/ Required scoping examples http://showmedo.com/videotutorials/video?name=3600040&fromSeriesID=360 More on scopipng http://www.youtube.com/watch?v=LBJWWjDc7wM&list=PL4E68ACF14ABB47AC Tutorials 27 and 28 http://techearth.net/python/index.php5?title=Python:Basics:Slices on slices https://www.khanacademy.org/science/computer-science/v/writing-a-simple-factorial-program---python-2 and following ones on factorials |
Lists, Dictionaries, Files |
Ch. 7 and Ch. 8 |
Assign. 7 | Other Documents Coming soon |
Outside Resources Coming soon |
|
Topic | Text | HW | Other Documents | Outside Resources |
|