Home About Courses Schedule Services Webinars Contact Search

Introduction to Python Programming


Duration: 4.0 days

Method: Instructor-Led, Hands On

Price: $2250.00

Course Code: PY1005


This class is designed for students new to Python, or for students who have some exposure and need to expand their understanding.


If you or your team are just getting started with Python, then this is the right Python course for you. If you are brand new to programming, Python is a great place to start. It is relatively simple to learn the basics, so you will be writing Python programs quickly and by the end of this Python class, you will have skills that you will be able to put to use quickly. If you have experience with other programming languages, such as Java, JavaScript, or C++, you will find much that is similar in Python, but you will also find some differences that will seem strange to you at first. We expect that you will find it relatively easy to adjust to and eventually appreciate Python's differences.


Upon successful completion of this course, the student will be able to:

  • Learn how Python works and what it's good for
  • Understand Python's place in the world of programming languages
  • Learn to work with and manipulate strings in Python
  • Learn to perform math operations with Python
  • Learn to work with Python sequences: lists, arrays, dictionaries, and sets
  • Learn to collect user input and output results
  • Learn flow control processing in Python
  • Learn to write to and read from files using Python
  • Learn to write functions in Python
  • Learn to handle exceptions in Python
  • Learn to work with dates and times in Python


Basic computer skills and familiarity with basic programming concepts like variables, loops, and functions.


  1. Python Basics
    • Running Python
    • Visual Studio Code
    • Python Interpreter in Interactive Mode
    • Commercial and Free Python IDEs
    • IDLE
    • Hello, world!
    • Hello World
    • Literals
    • Python Comments
    • Multi-line Comments
    • Data Types
    • Exploring Types
    • Variables
    • Variable Names
    • Variable Assignment
    • Simultaneous Assignment
    • A Simple Python Script
    • Constants
    • Deleting Variables
    • Writing a Python Module
    • The main() Function
    • print() Function
    • Named Arguments
    • Collecting User Input
    • Hello, You!
    • Getting Help
  2. Functions and Modules
    • Defining Functions
    • Variable Scope
    • Global Variables
    • Function Parameters
    • Using Parameter Names in Function Calls
    • A Function with Parameters
    • Default Values
    • Parameters with Default Values
    • Returning Values
    • Importing Modules
    • Module Search Path
    • pyc Files
  3. Math
    • Arithmetic Operators
    • Modulus and Floor Division
    • Floor and Modulus
    • Assignment Operators
    • Precedence of Operations
    • Built-in Math Functions
    • int(x)
    • eval(str)
    • float(x)
    • abs(x)
    • min(args) and max(args)
    • pow(x,y[,z])
    • round(number[, n])
    • sum(iter[, start])
    • The math Module
    • Additional math Functions
    • The random Module
    • Seeding
    • How Many Pizzas Do We Need?
  4. Python Strings
    • Quotation Marks and Special Characters
    • Escaping Characters
    • Triple Quotes
    • String Indexing
    • Indexing Strings
    • Slicing Strings
    • Slicing Strings
    • Concatenation and Repetition
    • Concatenation
    • Repetition
    • Repetition
    • Combining Concatenation and Repetition
    • Common String Methods
    • String Formatting
    • Format Specification
    • Long Lines of Code
    • Playing with Formatting
    • Formatted String Literals (f-strings)
    • Getting Acquainted with f-strings
    • Built-in String Functions
    • str(object)
    • len(string)
    • min() and max()
    • Outputting Tab-delimited Text
  5. Iterables: Sequences, Dictionaries, and Sets
    • Definitions
    • Sequences
    • Lists
    • Deleting List Elements
    • Sequences and Random
    • Remove and Return Random Element
    • Tuples
    • The Immutability of Tuples
    • Lists vs. Tuples
    • Ranges
    • Converting Sequences to Lists
    • Indexing and Slicing
    • Simple Rock, Paper, Scissors Game
    • Slicing Sequences
    • min(iter) and max(iter)
    • sum(iter[, start])
    • Converting Sequences to Strings with str.join(seq)
    • Splitting Strings into Lists
    • Unpacking Sequences
    • Dictionaries
    • The update() Method
    • The setdefault() Method
    • Dictionary View Objects
    • Deleting Dictionary Keys
    • The len() Function
    • Creating a Dictionary from User Input
    • Sets
    • *args and **kwargs
    • Using *args
    • Using **kwargs
  6. Flow Control
    • Conditional Statements
    • The is and is not Operators
    • all() and any()
    • Ternary Operator
    • Loops in Python
    • while Loops
    • for Loops
    • All True and Any True
    • break and continue
    • Word Guessing Game
    • The else Clause
    • Find the Needle
    • The enumerate() Function
    • Generators
    • Generator Use Case: Randomly Moving Object
    • The next() Function
    • Rolling Dice
    • List Comprehensions
  7. Virtual Environments
    • Virtual Environment
    • Creating a Virtual Environment
    • Activating and Deactivating a Virtual Environment
    • Deleting a Virtual Environment
    • Working with a Virtual Environment
    • Regular Expressions
    • Regular Expression Syntax
    • Try it
    • Backreferences
    • Python's Handling of Regular Expressions
  8. Unicode and Encoding
    • Bits and Bytes
    • Hexadecimal Numbers
    • Converting Numbers between Number Systems
    • hex(), bin(), ord(), chr(), and int()
    • Encoding
    • Encoding Text
    • Encoding and Decoding Files in Python
    • Converting a File from cp1252 to UTF-8
    • Finding Confusables
  9. File Processing
    • Opening Files
    • Methods of File Objects
    • Finding Text in a File
    • Writing to Files
    • List Creator
    • The os and os.path Modules
    • os
    • os.path
  10. Exception Handling
    • Wildcard except Clauses
    • Getting Information on Exceptions
    • Raising Exceptions
    • The else Clause
    • The finally Clause
    • Using Exceptions for Flow Control
    • Running Sum
    • Raising Your Own Exceptions
    • Exception Hierarchy
  11. Python Dates and Times
    • The time Module
    • Clocks
    • Time Structures
    • Times as Strings
    • Time and Formatted Strings
    • time.sleep(secs)
    • The datetime Module
    • datetime.date objects
    • datetime.time objects
    • datetime.datetime Objects
    • datetime.timedelta objects
    • Report on Amtrak Departure Times
  12. Running Python Scripts from the Command Line
    • sys.argv
    • A More Useful Example
    • sys.path