PIC 16 Python with Applications
You can download the course information here.
Winter 2020 Tentative Course Schedule
Week 1
- 01/06 Lecture 1: Course Overview
– Follow instructions in GettingStarted.pdf on CCLE
– Reading material: Python tutorial 1 and 2.1.2 - 01/08 Lecture 2: Python Basics - Basic Data Types, Commenting, list
– Reading material: Python tutorial 3.1.1, 3.1.2, 3.1.3, 5.1 - 01/10 Lecture 3: Python Basics - Modules, Functions
– Reading material: Python tutorial 4.1 - 4.6
Week 2
- 01/13 Lecture 4: Python Basics - More on functions
– Reading material: Python tutorial 4.7 - 01/15 Lecture 5: Python Basics - Dictionaries, Tuples, Sets, Functional Programming
– Reading material: Python tutorial 5.2 - 5.5 - 01/17 Lecture 6: Python Basics - Exception Handling
– Reading material: Python tutorial 6.1, 8.1 - 8.4
** Homework 1 due Wednesday by 5pm
Week 3
-
01/20 Martin Luther King, Jr. Holiday, no class
-
01/22 Lecture 7: Python Basics - Classes and Objects
– Reading material: tutorialspoint -
01/24 Lecture 8: Python Basics - Iterators and Generators
– Reading material: Python tutorial 9.8 - 9.10
** Homework 2 due Wednesday by 5pm
Week 4
-
01/27 Lecture 9: Python Basics - More built-in functions, Executing Modules as Scripts
– Python tutorial 5.6
– Executing Modules as Scripts
– Built-in Functions -
01/29 Lecture 10: Inheritance
– Class Inheritance and Overloading Methods -
01/31 Lecture 11: Input/Output (Console, text files, CSV)
– Reading and writing files
– CSV module
** Homework 3 due Friday by 5pm
Week 5
- 02/03 Lecture 12: Regular Expressions I - Basics
– Reading material: tutorial
– Cheat sheet
– To test your regular expressions: pythex -
02/05 Lecture 13: Regular Expressions II - Groups and Quantifiers
- 02/07 Midterm exam
Week 6
-
02/10 Lecture 14: Visualization I: Regular Expressions III + Matplotlib and pyplot
– Recursion
– Matplotlib tutorial -
02/12 Lecture 15: NumPy
– Numpy tutorial – Matplotlib tutorial -
02/14 Lecture 16: More on plotting
– Numpy tutorial
** Homework 4 due Wednesday by 5pm
Week 7
-
02/17 Presidents’ Day holiday: No class
-
02/19 Lecture 17: Grey-scale images and adding noise to an image
– Matplotlib image tutorial -
02/21 Lecture 18: Uniform Blur, Gaussian Blur, Edge Detection
– Blurring for Beginners
** Homework 5 due Wednesday by 5pm
Week 8
- 02/24 Lecture 19: GUI Tkinter I: Drawing Lines and Shapes
– An Introduction To Tkinter - 02/26 Lecture 20: GUI TkInter II - Widgets
- 02/28 Lecture 21: GUI TkInter III - Events and Bindings
** Homework 6 due Wednesday by 5pm
Week 9
-
03/02 Lecture 22: Pandas
– Pandas Tutorial
– Pandas Basics Cheat Sheet (on CCLE) - 03/04 Lecture 23: Pandas II
– Pandas Tutorial - 03/06 Lecture 24: Network Data Visualization - NetworkX
– Networkx Tutorial
Week 10
- 03/09 Lecture 25: NLTK (Natural Language Toolkit) - Concordance, Contexts, Dispersion
– NLTK book - 03/11 Lecture 26: NLTK continued
- 03/13 Lecture 27: Final Review
** Homework 7 due Monday by 5pm