Outline updated November 2026

Foundation35 hours delivered over 5 daysLive, online

Request this course

Introduction to Python

Class Duration

35 hours of live training delivered over 5 days.

Student Prerequisites

  • Some prior experience with software development in any language (this is not an introduction to programming)
  • Familiarity with common programming concepts: variables, control flow, functions, and arrays
  • No prior Python experience required

Target Audience

  • Developers who know another language and are new to Python
  • Data analysts whose Python use is limited to Jupyter Notebooks
  • Ready for more? Continue to Intermediate Python

Description

This course teaches Python to programmers who are new to the language or who only use it in Jupyter Notebooks. It starts with uv, Ruff, and VS Code, then covers types, control flow, strings, and collections. Most of the course runs in Jupyter Notebooks, which make each step easy to run and inspect. Later modules cover functions, exceptions, classes, and CSV and JSON files. The course ends with Python scripts and modules written outside of notebooks.

Learning Outcomes

  • Apply the essential concepts and practices of Python programming.
  • Write Python code that follows PEP 8 style.
  • Explain what makes code Pythonic, using the Zen of Python.
  • Set up Python projects, environments, and packages with uv.
  • Run and debug code in Jupyter Notebooks.
  • Write and debug Python scripts outside of notebooks.
  • Program with key data types, data structures, and control flow features.
  • Handle errors with exceptions and read tracebacks to find their causes.
  • Organize code into functions and modules.
  • Define basic classes with attributes, methods, and inheritance.

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware. Students will need permission to install Python and Visual Studio Code on their computers. Also, students will need permission to install Python Packages and Visual Studio Code extensions. If students are unable to configure a local environment, a cloud-based environment can be provided.

The course is taught on Python 3.15.

Training Topics

Modern Python Tooling

  • Installing and managing Python versions with uv
  • Project setup with uv
  • Virtual environments and dependencies with uv
  • Ruff for formatting and linting
  • VS Code with the Python and Pylance extensions
  • Debugging Python in VS Code

Jupyter Notebooks

  • Installing and configuring Jupyter
  • Notebooks in VS Code
  • Running notebooks
  • Editing and running cells
  • Restarting the kernel
  • Configuring code completion
  • Debugging code in notebooks

Python Language

  • Brief history
  • Compared to other languages
  • Common uses
  • Pythonic programming
  • The PEP 8 style guide
  • Indented code blocks
  • Error messages with suggestions

Types and Variables

  • Static vs. dynamic typing
  • Strong vs. loose typing
  • Defining variables
  • Variable scope
    • Built-in
    • Global
    • Nonlocal
    • Local
  • Naming conventions
  • Variable metadata
    • The type function
    • The id function

Control Flow

  • if, elif, and else
  • Structural pattern matching with match
  • while loops
  • for loops
  • break
  • continue

Strings

  • String functions
  • Formatting with f-strings
  • Multiline strings
  • Raw strings
  • Regular expression basics with re

Numbers

  • int vs. float
  • Common math operations

Boolean

  • Boolean values
  • Truthy and falsy values
  • Comparison expressions

Sequence Types

  • What is a sequence type?
  • Mutable vs. immutable sequences
  • Lists
    • Creating a list
    • Adding and removing items
    • List functions
    • Slicing
    • Iterating with enumerate
    • map and filter
    • List comprehensions
  • Tuples
    • Creating a tuple
    • Tuples vs. lists
    • Tuple unpacking
  • Ranges
    • Start index
    • End index
    • Step value

Map Type

  • What is a map type?
  • Dictionaries
    • What is a key-value pair?
    • Creating a dictionary
    • Setting a value for a key
    • Getting a value by key
    • Handling a KeyError
    • Dictionary functions
    • Iterating over a dictionary

Set Types

  • set and frozenset
  • Adding and removing items
  • Membership tests
  • Union, intersection, and difference

Dates and Times

  • The datetime module
  • The time module
  • Parsing dates
  • Formatting dates
  • Handling time zones

Sorting

  • In-place sorting
  • Sorting copies with sorted
  • Key functions

Functions

  • What is a function?
  • Functions as objects
  • Parameters
  • Positional vs. keyword arguments
  • Default parameter values
  • Lambda functions
  • Generators

Exceptions

  • What is an exception?
  • try, except, else, and finally
  • Handling multiple exception types
  • Raising exceptions
  • Custom exceptions
  • Reading tracebacks

Classes

  • What is a class?
  • Defining a class
  • Data attributes
  • Methods
  • Basic inheritance

Comments

  • Commenting code
  • Docstrings

Working with Data

  • Opening and closing files
  • Files and the with statement
  • Downloading data over HTTP
  • Reading and writing CSV files
  • Reading and writing JSON files

Programming Scripts

  • Running scripts outside of notebooks
  • Printing to the console
  • Reading console input
  • Configuring Visual Studio Code for scripts
  • Organizing code into modules

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?