Introduction to Python


Instructor: Richard Lawrence

Time: Friday, February 18, 10:00AM-12:30PM

Location: Blocker 220 and online using Zoom

Prerequisites: HPRC account

This short course covers basic topics in programming using Python.

Course Materials

Previous Semester Materials


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.