Teaching Python at FAU a 2nd time

A year after my first lectures for Dr. Huang’s Programming Languages class, I’m glad to have been asked to lecture again.

If you’re in the class, I hope you enjoy the lectures and learn a lot from them. Hopefully, you’ll learn enough Python so you know how and when to use it.

If you’re not in the class, and looking to learn python, I hope my slides and assigments help you get started. There are so many better internet resources out there than these slides that I tried to link to at the bottom of those post.

Assignment 0

Assignment 0 is here: https://gist.github.com/cmpis/a7066e1089abfee202dd

You can download Python from https://www.python.org/downloads/

Day 1

We cover:

  • What python is
  • What shouldn’t you use python for
  • Why you should use python
  • Who uses python (and for what?)
  • How to print things
  • How variables and types in python work
  • How lists, dictionaries, and tuples work
  • How to make functions
  • How to download Python 3.5

https://speakerdeck.com/cmpis/intro-to-python-day-1

Day 2

Assignment 1: https://gist.github.com/cmpis/f4d9796efd29cb1dfdd0

What I will cover:

  • A review of Day 1
  • Continuing with Lists
    • indexing
    • copying
    • iterating
    • slices
  • if/elif/else statements
  • for and while loops
    • Lists and tuples
    • Dictionaries
  • packages
  • importing
  • classes
    • dun-der methods
  • And probably more…

[https://speakerdeck.com/cmpis/intro-to-python-day-2]()

Day 3

What I cover:

  • classes
  • decorators
  • flask - micro web framework
    • simple
    • routes
    • GET/POST
    • Jinja2

https://speakerdeck.com/cmpis/intro-to-python-day-3

Extras and guides

As I said in class: Please feel free to ask questions