Duration
4 days (10:00 AM - 5:00 PM Eastern)
Cost
$1,325.00

Online Training

Do you want to take an online, instructor-led class?

Onsite Training

Do you have five (5) or more people needing this class and want us to deliver it at your location?

Details

Subjects Covered

Prerequisites

Setup Requirements

Details

Course Details

This course leads you from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting.
 
This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises. Python Programming is a practical introduction to a working programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete tasks in the real world.
 

Subjects Covered

Python 3 Introduction

  • An Overview of Python
    • What is Python?
    • The birth of Python
    • Python Timeline
    • About Interpreted Languages
    • Advantages of Python
    • Disadvantages of Python
    • How to get Python
    • Which Version of Python?
    • The End of 2 x
    • Getting Help
    • pydoc
    • Using pydoc
  • The Python Environment
    • Starting Python
    • If the Interpreter is not in your PATHs
    • Using the Interpreter
    • Trying Out a Few Commands
    • The Help() Command
    • Running a Python Script
    • Python Scripts on Unix
    • Python Scripts on Windows
    • Python editors and IDEs
  • Getting Started
    • Using Variables
    • Keywords
    • Built-in Functions
    • Variable Typing
    • Strings
    • Single-delimited String Literals
    • Triple-delimited String Literals
    • Raw String Literals
    • Unicode Characters
    • String Operators and Methods
    • Numeric Literals
    • Math Operators and Expressions
    • Converting Among Types
    • Writing to the Screen
    • String Formatting
    • Command Line Parameters
    • Reading from the Keyboard
  • Flow Control
    • About Flow Control
    • What’s with the white space?
    • if and elif
    • Conditional Expressions
    • Relational Operators
    • Boolean Operators
    • while loops
    • Alternate ways to exit a loop
  • Sequences
    • About Sequences
    • Lists
    • Tuples
    • Indexing and Slicing
    • Iterating Through a Sequence
    • Using enumerate()
    • Functions for all sequences
    • Keywords and Operators for all Sequences
    • The range() function
    • Nested Sequences
    • List Comprehensions
    • Generator Expressions
  • Working with Files
    • Text file I/O
    • Opening a Text File
    • The with block
    • Reading a Text File
    • Writing to a Text File
    • Non-delimited (raw) data
  • Dictionaries and Sets
    • About Dictionaries
    • When to Use Dictionaries
    • Creating Dictionaries
    • Getting Dictionary Values
    • Iterating Through a Dictionary
    • Reading File Data into a Dictionary
    • Counting with a Dictionary
    • About Sets
    • Creating Sets
    • Working with Sets
  • Functions
    • Defining a Function
    • Function Parameters
    • Returning Values
    • Variable Scope
  • Sorting
    • Sorting
    • The sorted() function
    • Alternate keys
    • Lambda Functions
    • Sorting Nested Data
    • \Sorting Dictionaries
    • Sorting in Reverse
    • Sorting Lists in Place
  • Errors and Exception Handling
    • Syntax Errors
    • Exceptions
    • Handling Exceptions with try
    • Handling Multiple Exceptions
    • Handling All Exceptions
    • Ignoring Exceptions
    • Using else
    • Cleaning up with finally
    • The Standard Exception Hierarchy
  • Using Modules
    • What is a Module?
    • The import Statement
    • Where did that .pye file come from?
    • Module Search Path
    • Creating Modules
    • Packages
    • Module Aliases
    • When the Batteries aren’t Included
  • Regular Expressions
    • Regular Expressions
    • RE Syntax Overview
    • RE Objects
    • Searching for Patterns
    • Matching without re Objects
    • Compilation Flags
    • Grouping
    • Special Groups
    • Replacing Text
    • Splitting a String
  • Using the Standard Library
    • The sys Module
    • Interpreter Information
    • STDIO
    • Launching External Programs
    • Paths, Directories, and Filenames
    • Walking Directory Trees
    • Grabbing Web Pages
    • Sending e-mail
    • Math Functions
    • Random Values
    • Dates and Times
    • Zipped Archives
  • Introduction to Python Classes
    • About o-o Programming
    • Defining Classes
    • Initializers
    • Instance Methods
    • Properties
    • Class Methods and Data
    • Static Methods
    • Private Methods
    • Inheritance
    • Untangling the nomenclature

Prerequisites

Before Taking this Class

Working/user level knowledge of an operating system such as Linux, Windows, or MacOS. Basic skill with at least one other programming language is desirable.

Setup Requirements

Software/Setup For this Class

Python 3 or higher