Skip to content

Latest commit

 

History

History
 
 

python_advanced

date duration maintainer order title
w01d03
50
zwmiller
4
Optional Python Advanced

Sample Lesson Plan

Learning Objectives

Advanced Python Data Types

The students will be:

  • Familiar with DefaultDict
  • Familiar with NamedTuples
  • Familiar with Deques
  • Understand the difference between a list and a generator
  • Be familiar with yield vs return and the purpose of generators

Deep Copy

The students will:

  • Understand how the memory is assigned (roughly)
  • Understand why deep copy is necessary
  • Know how to deep copy and when it is necessary.

Pickle: Saving Objects for Later

The students will:

  • Know what pickling is
  • Understand how to dump/load an object
  • Be familiar with how pickle can fit into their workflow