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