Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options
Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Introduction to Python 3

New – Learn to write non-trivial Python programs dealing with a wide variety of subject matter domains.

GK# 6967

Course Overview

TOP

This course introduces the student to the Python language. Upon completion of this class, the student will be able to write non-trivial Python programs dealing with a wide variety of subject matter domains.

Topics include language components, the IDLE environment, control flow constructs, strings, I/O, collections, classes, modules, and regular expressions. The course is supplemented with many hands-on labs using either Linux or Windows.

Schedule

TOP
  • Delivery Format:
  • Date:
  • Location:
  • Access Period:

$

What You'll Learn

TOP
  • Basic Python Syntax
  • Language Components
  • Collections
  • Functions
  • Modules
  • Exceptions
  • Input and Output
  • Classes in Python
  • Regular Expressions

Outline

TOP
Viewing outline for:

Classroom Live Outline

An Introduction to Python

  • A Brief History of Python
  • Python Versions
  • Installing Python
  • Environment Variables
  • Executing Python from the Command Line
  • IDLE
  • Editing Python Files
  • Python Documentation
  • Getting Help
  • Dynamic Types
  • Python Reserved Words
  • Naming Conventions

Basic Python Syntax

  • Basic Syntax
  • Comments
  • String Values
  • String Methods
  • The Format Method
  • String Operators
  • Numeric Data Types
  • Conversion Functions
  • Simple Input and Output
  • The % Method
  • The Print Function

Language Components

  • Indenting Requirements
  • The If Statement
  • Relational Operators
  • Logical Operators
  • Bit Wise Operators
  • The While Loop
  • Break and Continue
  • The For Loop

Collections

  • Lists
  • Tuples
  • Sets
  • Dictionaries
  • Sorting Dictionaries
  • Copying Collections

Functions

  • Defining Your Own Functions
  • Parameters
  • Function Documentation
  • Keyword and Optional Parameters
  • Passing Collections to a Function
  • Variable Number of Arguments
  • Scope
  • Functions – “First Class Citizens”
  • Passing Functions to a Function
  • Mapping Functions in a Dictionary
  • Lambda
  • Inner Functions
  • Closures

Modules

  • Modules
  • Standard Modules – sys
  • Standard Modules – math
  • Standard Modules – time
  • The dir Function

Exceptions

  • Errors
  • Run Time Errors
  • The Exception Model
  • Exception Hierarchy
  • Handling Multiple Exceptions
  • raise
  • assert
  • Writing Your Own Exception Classes

Input and Output

  • Data Streams
  • Creating Your Own Data Streams
  • Access Modes
  • Writing Data to a File
  • Reading Data From a File
  • Additional File Methods
  • Using Pipes as Data Streams
  • Handling IO Exceptions
  • Working with Directories
  • Metadata
  • The Pickle Module

Classes in Python

  • Classes in Python
  • Principles of Object Orientation
  • Creating Classes
  • Instance Methods
  • File Organization
  • Special Methods
  • Class Variables
  • Inheritance
  • Polymorphism
  • Type Identification
  • Custom Exception Classes

Regular Expressions

  • Simple Character Matches
  • Special Characters
  • Character Classes
  • Quantifiers
  • The Dot Character
  • Greedy Matches
  • Grouping
  • Matching at Beginning or End
  • Match Objects
  • Substituting
  • Splitting a String
  • Compiling Regular Expressions
  • Flags

Prerequisites

TOP

Students should have some experience with at least one programming language, i.e. C, C++, Java, Perl, Ruby, VB, or any equivalent.

Who Should Attend

TOP

Anyone who needs to learn how to write programs in Python.

Course Delivery

This course is available in the following formats:

Classroom Live

Receive face-to-face instruction at one of our training center locations.

Duration: 3 day

Virtual Classroom Live

Experience expert-led online training from the convenience of your home, office or anywhere with an internet connection.

Duration: 3 day

Request this course in a different delivery format.
Enroll