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