Skip to content

Contact sales

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

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.

Purpose
Learn how to develop simple programs using fundamental Python concepts.
Audience
Developers, Q/A, Dev Ops, and system administrators looking to adopt Python.
Role
Software Developer - System Administrator - Web Developer
Skill Level
Introduction
Style
Hack-a-thon - Learning Spikes - Workshops
Duration
3 Days
Related Technologies
Python

 

Productivity Objectives
  • Install and configure a development environment to support Python
  • Create a basic stand-alone Python application
  • Perform basic text-processing functionality using Python
  • Develop a modular application

What You'll Learn:

In the Introduction to Python training 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/More
    • Slicing operator
    • Lists
    • join() / split()
    • sort() vs. sorted()
    • enumerate()
    • zip()
    • List comprehensions
    • Tuples
    • Dictionaries
    • Dictionary comprehensions
    • Sets
    • File I/O (stdin, stdout)
  • Functions
    • Positional arguments
    • Default arguments
    • Keyword arguments
    • *arg / **kwargs
  • Modules
    • import vs. from ... import...
  • Exception Handling with Python
    • What is an exception?
    • Error types: index, name, type, syntax, value, etc
    • LBYL vs. EAFP
    • try/except, else, finally
  • 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
  • Object-oriented Programming with Python (time permitting)
    • OO concepts supported by Python
    • Creating classes, properties, methods, attributes, etc
    • Applying encapsulation using method access, visibility, and conventions
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

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.