Skip to content

Hands-on Introduction to Python (multi-part series)

Each of session of this course is two hours long.

Depending on the semester, this course may be offered as a three- or five-part series. During the first three sessions, we will introduce the key concepts of the Python language: variables, functions, control structures, input and output, exception handling, and the concept of object-oriented programming. During the fourth and fifth sessions, if applicable, we will focus on how Python can be used in a scientific environment by using NumPy and SciPy. 

To participate in the hands-on exercises:

  1. You will need to a computer with a stable connection to the internet.
  2. Follow this link to mybinder.org: https://mybinder.org/v2/gh/CHPC-UofU/python-lectures/HEAD
  3. Once the Binder site has initialized and the Jupyter Lab web page appears, double-click on the "notebooks" link on the left side of the page, and then on the "lectures" directory, also on the left side of the page. Double-click a notebook to open it.
  4. If you would like to download the course materials, you can do so with the following Git command:
    git clone https://github.com/CHPC-UofU/python-lectures.gitOnce the Git command completes, you should have a new directory named "python-lectures". If you don't have Git on your computer, you can open a browser to https://github.com/CHPC-UofU/python-lectures, click the green "Code" button, and download the materials as a zip file.
Last Updated: 7/7/25