Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more

Introduction to Python

Course Summary

The Introduction to Python training course is designed to demonstrate the Python programming language.

The course begins by examining why to adopt Python, where Python excels, and how it compares to other programming languages. Next, it transitions into a nuts-and-bolts examination of key language features, concepts, and functionalities. The course concludes by analyzing how to apply OO programming concepts with Python, work with exceptions, and create modularity in your applications.

Prerequisite: Prior programming experience is required

THIS IS NOT A LEARN-TO-CODE CLASS.  If you would like to learn how to program, consider Learning to Program with Python

Purpose
Learn how to develop programs using Python
Audience
Programmers interested in learning Python
Role
Software Developer | Web Developer
Skill Level
Introduction
Style
Lecture | Hands-on Activities | Labs
Duration
3 Days
Related Technologies
Python

 

Learning Objectives
  • Install and configure a development environment to support Python
  • Create a basic Python application
  • Work with collections in Python
  • Work with files in Python
  • Add error handling to Python applications
  • Use regular expressions to validate data
  • Use common Python modules
  • Discuss how Python supports object-oriented programming

What You'll Learn:

In the Introduction to Python course, you'll learn:

What is Python?

  • Why use Python?
  • Compare Python to other programming languages

Python Development

  • Download and install Python and Jupyter
  • Introduction to Jupyter Notebooks
  • Getting Started with Python-The Basics
    • Variables/Typing
    • Basic types: int, float, string
    • Built-in Python functions
    • Python arithmetic
    • Code Blocks/Colons
    • Control structures
      • if/elif/else
      • Loops - for, while, range operator, the in operator
    • Programming Pythonically

Iterables/Sequences

  • What are iterables and sequences?
  • Slicing operator
  • String functions (methods)
  • join() / split()
  • sort() vs. sorted()
  • Lists
    • list methods
    • Finding common elements    
    • Finding duplicates
    • enumerate()
    • zip()
  • List comprehensions
  • Tuples
  • Dictionaries
    • dict methods
  • Dictionary comprehensions
  • Sets
    • set methods
    • Finding common elements
    • Removing duplicates
  • File I/O
    • Files are iterables
    • The with statement
    • Working with files

Functions

  • Positional arguments
  • Default arguments
  • Keyword arguments
  • *arg / **kwargs

Exception Handling with Python

  • What is an exception?
  • Error types: index, name, type, syntax, value, etc
  • LBYL vs. EAFP
  • try/except, else, finally

Modules

  • import vs. from ... import...
  • Module Syntax
  • Packages and modules
  • Build a module
  • Package a module for reuse
  • Developer modules
    • Command line parsing: argparse
    • System management: os, sys, subprocess
    • File I/O and file management: shutil, tempfile, glob

Regular Expressions

  • Regular expression syntax and Module (re)
  • Search and replace
  • Compiling regular expression patterns
  • Regular expressions and input file parsing

Overview of object-oriented programming with Python

  • OO concepts supported by Python
  • Creating classes
  • Using objects

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.