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

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

** Homework 4 due Wednesday by 5pm

Week 7

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

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

Final exam: 2020.03.17, 3:00 PM - 6:00 PM