• ROI Training

Python Programming Essentials

Contact us to book this course
Curriculum icon
Curriculum

Python

Delivery methods icon
Delivery methods

On-Site, Virtual

Duration icon
Duration

2 days

Python is a powerful, portable, object-oriented, open-source programming language. This course starts by quickly covering the basics: variables, control of flow, functions, modules, exceptions, packages, and standard libraries. This class is approximately 65% hands-on.

Note: This course uses Python 3.12 and can be taught on Linux or Microsoft Windows.

Learning objectives

In this course, you will learn how to:

  • Use Python interactively
  • Create and execute a Python program
  • Create and manipulate variables and track their scope
  • Use objects from built-in types
  • Create and access collections: lists, tuples, and dictionaries
  • Employ Python flow control statements for conditional and repeated execution
  • Define and call functions
  • Access additional modules and packages
  • Track objects within a namespace
  • Define exceptions and deploy an exception handler
  • Define object oriented design and programming
  • Define classes for custom type creation

Who should attend

Anyone who wants to learn how to program in Python.

Prerequisites

Prior programming experience is not required for this course.

Course outline

  • Command Line
  • IDEs
  • A First Program—Twice
  • Basic I/O
  • Getting Help: Debugging
  • Data Types and Assignment
  • Strings
  • Integers and Floating Point Objects
  • Boolean Type
  • Shared References
  • Boolean Operators
  • if Conditional testing
  • Iterating using while
  • Short circuit loops: break and continue
  • Sequential Types and Indexing
  • Lists and Tuples
  • List Operators and Methods
  • for Looping
  • List Comprehensions
  • Tuple Operators
  • Collections of Collections
  • Dictionaries and Methods
  • Function Basics
  • Function Attributes
  • Methods of Passing Arguments to Functions
  • Variable Scope
  • Create and Call lambda Functions

 

  • What Are Exceptions?
  • Creating Exception Handlers
  • Creating and Raising Exceptions
  • Testing and assert
  • Creating and Using Modules
  • Using Packages
  • Accessing Python Standard Library
  • import
  • Classes and Objects
  • Using Objects and Methods
  • Creating Classes
  • Inheritance
  • Opening and Closing Files
  • Text File IO
  • Invoking the Context Manager by the with Statement

Ready to accelerate your team's innovation?