Introduction to Python®
Public Training Price: $1795 per student
Private Training Price: $6650 for up to 3 students*
*Additional students subject to a nominal fee
Private Training Price: $6650 for up to 3 students*
*Additional students subject to a nominal fee
- Introduction to Python Training Class Summary
-
This three day course emphasizes becoming productive quickly in the Python programming language. This course starts by covering the basic Python language syntax including data types, variables, operators, conditionals and flow control. From there, students will learn how to create more modular applications using features such as functions, modules, and classes. The class ends with coverage of regular expressions, file input/output, and exceptions.
Audience: Programmers and system administrators who are new to the Python language
Prerequisites: Previous experience programming in at least one other programming language is beneficial.
Class Length: 3 days
- Introduction to Python Training Class Objectives
-
- Create and invoke Python programs.
- Select the most appropriate data types and data structures for Python variables.
- Improve program design and modularity with functions and modules.
- Implement object-oriented techniques with Python classes and objects.
- Use regular expression pattern matching to search and manipulate complex data.
- Read and write data files using Python’s input and output operators.
- Write programs which both handle and raise exceptions.
- Introduction to Python Training Class Detailed Outline
-
- Meet Python
- Origin of Python
- Where to Get Python
- Invoking Python
- Other Python Implementation
- Python Resources
- Handling Numbers and Strings
- Numeric Data
- Using Numbers
- String Data
- Using Strings
- Variables and Data Structures
- Variables
- Numeric and String Variables
- Lists
- Tuples
- Sets
- Dictionaries
- Additional Resources
- Flow Control
- Controlling the Flow
- The ‘if’ Statement
- The ‘while’ Statement
- The ‘for’ Statement
- The range() Function and Loops
- Other Statements with Loops
- Conditional Expressions
- Conditions and Conditional Expressions
- Numeric Comparisons and Conditions
- Comparing Strings
- Complex Conditions
- Basic Input and Output
- Reading Input
- Simple Output
- Formatted Output
- Functions
- Creating Functions
- Invoking Functions
- Returning Values from Functions
- Passing Parameters
- More About Function Arguments
- Scope of Variables
- Lambda Functions
- Using Modules
- What are Modules?
- Creating Modules
- Using Modules
- More About Modules
- Compiled Modules
- Standard Modules
- An Introduction to Classes
- Namespaces
- What is a Class?
- Defining a Class
- Defining Class and Instance Attributes
- Defining Methods
- Instantiating a Class
- Inheritance
- Resources
- Regular Expressions
- Pattern Matching vs. Wildcards
- Compiling Regular Expressions
- Matching vs. Searching
- Substitution
- Regular Expressions: Metacharacters
- The Problem with \
- Special Backslash Sequences
- Using MatchObject
- Additional Regular Expression Operation
- Additional Resources
- Files
- File Handles and File-like Objects
- Opening and Closing Files
- Reading from Files
- Writing to Files
- Moving Around in Files
- The pickle Module
- Resources
- Errors and Exceptions
- Errors, Exceptions, and Warnings
- Raising an Exception
- User Defined Exceptions
- Catching and Handling Exceptions
- The raise Statement
- Meet Python



