Introduction to Python

Overview

Instructor: Yang Liu

Time: Friday, October 19, 11:30AM-2:00PM

Location: SCC 102.B

Prerequisites: None

This short course covers basic topics in programming using Python.

Course Materials

  • Course Files (Fall 2018): tar.gz
  • Notebook Access Instructions: PDF
  • Notebook Cheat Sheet: PDF
  • Installing Jupyter for use with Course Notebook: Link

Agenda

This course focuses, among others, on the following topics:

  • Constants and Variables
  • Data Types: Numbers, Strings, and Lists
  • Control Statement: If/Else, For, While
  • Functions
  • Scripts and Modules
  • File Input and Output
  • Errors and Exceptions
  • Dictionaries
  • Sorting
  • Regular Expression
  • Slicing, List Comprehension, List Assignment and Copy

Note: During the class sessions many aspects of the material will be illustrated live via a Jupyter notebook.