| date | w01d03 |
|---|---|
| duration | 50 |
| maintainer | zwmiller |
| order | 4 |
| title | Optional Python Advanced |
- (20 m) Advanced Python Datatypes
- (15 m) Deep and Shallow Copy
- (15 m) Pickle
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
yieldvsreturnand the purpose of generators
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.
The students will:
- Know what pickling is
- Understand how to dump/load an object
- Be familiar with how pickle can fit into their workflow