Class Slides |
||
Session 1 -- getting started |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Introduction; Installations and Setup |
slide page |
|
| Your New Partner: the Python Interpreter |
slide page |
|
| Executing Programs and Using the Lab Exercises |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 2 -- objects, object types, functions and operators |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Creating and Identifying Objects by Type |
slide page |
|
| Math and String Operators |
slide page |
|
| Built-In Functions |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 3 -- conditionals and blocks; object methods |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Conditionals and Blocks; Object Methods |
slide page |
|
| The while Block Statement and Looping Blocks |
slide page |
|
| Object Methods |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 4 -- parsing string and file data: strings, lists, files |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Data Parsing & Extraction: String Methods |
slide page |
|
| Data Parsing & Extraction: List Operations and String Slicing |
slide page |
|
| Data Parsing & Extraction: File Operations and the for Looping Statement |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 5 -- summarizing data with containers: lists, tuples, sets |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Containers: More List Operations |
slide page |
|
| Containers: Tuples and Sets |
slide page |
|
| Building Up Containers from File |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 6 -- summarizing data with containers: dictionaries |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Dictionaries: Lookup Tables |
slide page |
|
| Dictionaries: Rankings |
slide page |
|
| Dictionaries: Aggregations |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 7 -- multidimensional containers and json |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| The JSON File Format and Multidimensional Containers |
slide page |
|
| Reading Multidimensional Containers: Subscripting |
slide page |
|
| Reading Multidimensional Containers: Looping |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 8 -- introduction to user-defined functions; exceptions; list comprehensions |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Introduction to User-Defined Functions |
slide page |
|
| Exception Trapping |
slide page |
|
| Set Operations and List Comprehensions |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 9 -- the command prompt |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| The Command Prompt: Moving Around and Looking |
slide page |
|
| The Command Prompt: Executing Python Programs |
slide page |
|
| The Command Prompt: Program Arguments |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 10 -- files and directories; working with external processes |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| File and Directory Listings |
slide page |
|
| File Tests and Manipulations |
slide page |
|
| Interacting with External Processes |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 11 -- more user-defined functions; modules and code organization |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| More About User-Defined Functions |
slide page |
|
| User-Defined Function Variable Scoping |
slide page |
|
| Modules in Python |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 12 -- user-defined classes and object-oriented programming part I |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| User-Defined Classes: the class Statement and Object Methods |
slide page |
|
| The __init__ Constructor and Object Attributes |
slide page |
|
| 'setter' and 'getter' Methods and Encapsulation |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
Session 13 -- user-defined classes and object-oriented programming part II |
||
| Deck as Single Slides (continuous through all 3 segments) | slideshow | |
| Slide Decks (Single Page) | ||
| Class Variables / Attributes |
slide page |
|
| Class Methods and Static Methods |
slide page |
|
| Inheritance and Polymorphism |
slide page |
|
| In-Class Exercises |
in-class exercises exercise solutions |
|
| All Slides | All Slides on One Page | |