Skip to content Skip to site navigation Skip to service navigation

Introduction to Python Programming (2-Day Class)

Class Sessions

No classes match your filter. Remove or modify some filters to try again.

Class Code


Class Description

This class introduces you to the Python programming language and why it has become so popular. Being able to code in Python opens a world of opportunities, such as doing data analytics and data science, developing for the web, and working with databases.


Prerequisite: Basic computer knowledge


In this course, you will get started with using Python 3. We will start by helping you get Python installed on your computer. You will then be introduced to Jupyter Notebooks - an interactive way to learn Python. 

We will use a practical, hands-on approach to help you learn the structure of Python. We will cover the various mathematical and string operations, in addition to Python's various data structures. 

You'll also get started on how to effectively communicate in Python using statements and how to use .py files. We'll then move forward to learn about Functions, Methods, and Object Oriented Programming in Python and its advantages. 

Importantly, there will be 3 Milestones that you'll implement along the way to ensure understanding. 

Learning Objectives:

  • Install Python
  • Learn the Python programming language by doing hands-on activities.
  • Learn about Jupyter (iPython) notebooks and how they are used.
  • Learn the unique features of Python and why it has become so popular.
  • Learn many of the ways in which Python is used (e.g., data science, web development, database access).
  • Learn Object Oriented Programming with Python classes.
  • Create two different projects using Python.
  • Understand how Python can be used on personal and professional projects.


Topic Outline:

  • Course Introduction
  • Overview of the Language
  • Installing Python
  • Introduction to Notebooks
  • Python Data Types
  • Introduction to Numbers and Mathematical Operations in Python
  • Using Variables
  • Introduction to Strings
  • Print Formatting
  • Python Data Structures (Lists, Dictionaries, Tuples, Sets)
  • Comparison and Logical Operators in Python
  • Python Statements (If, Elif, Else, For Loops, While Loops)
  • Milestone 1: Solve FizzBuzz problem using ¿if¿ statements
  • Methods and Functions
  • File I/O
  • Milestone Project 2: Analyze Personal Finances using Functions
  • Object Oriented Programming
  • Modules and Packages
  • Milestone Project 3: Create a small game using Object Oriented Programming
  • Conclusion: Moving forward with Python


Structured Activity/Exercises/Case Studies:

  • Milestone Project 1: Solve the "FizzBuzz" problem using "if" statements. 
  • Milestone Project 2: Write a program to analyze your personal finances using Functions.
  • Milestone Project 3: Write a small game using Object Oriented Programming.


University IT Technology Training classes are only available to Stanford University staff, faculty, or students. A valid SUNet ID is needed in order to enroll in a class.