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

** 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

** Homework 4 due Wednesday by 5pm
** Quiz 4 on Wednesday

Week 7

** 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/11 Lecture 28: Final Review

** Homework 7 due Monday by 5pm

Final exam: December 14, 2020