Skip to content

Latest commit

 

History

History
 
 

readme.md

date w01d03
duration 50
maintainer zwmiller
order 4
title 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