Python Programming - October 21-25, 2019


October 21-25, 2019 ***GUARANTEED TO RUN

Duration: 5 days

9:00am-5:00pm ET

ILT Location: Columbia, MD

HD ILT: Eastern Time

  • Overview

    This course introduces the student to the Python language and writing 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. Skills are reinforced by hands-on lab exercises.

  • Who Should Take This Course


    Students should have experience in a similar programming language, such as C, Java, JavaScript, or Ruby. Prerequisite language skills include a basic understanding of datatypes, Boolean logic and control flow.

  • Why You Should Take This Course

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

    • Execute Python code in a variety of environments.
    • Use correct Python syntax in Python programs.
    • Use the Python control flow constructs correctly.
    • Write Python programs using various collection data types.
    • Write home grown Python functions.
    • Use many of the standard Python modules such as os, sys, math, and time.
    • Handle various exceptions via the Python Exception Handling model.
    • Use the io module in Python to read and write disk files.
    • Create custom classes and use existing Python classes.
    • Understand and use the object-oriented paradigm in Python programs.
    • Use the Python Regular Expression capabilities for data verification.
    • Differentiate between the proper use of Python collection classes.
    • Use advanced data structures.
    • Use Python list comprehensions.
    • Use Python generators.
    • Process JSON and XML data.
    • Perform CRUD operations on SQL Databases.

  • Course Outline

    An Overview of Python 3

    · Introduction

    · Installing Python

    · Executing Python from the Command Line

    · Executing Python from an Interactive Python Shell

    · IDLE

    · Additional Editors and IDEs

    · Python Documentation

    · Getting Help

    · Python Keywords

    · Naming Conventions

    · Dynamic Types

    Basic Python Syntax

    · Basic Syntax

    · Simple Output

    · Simple Input

    · Comments

    · Numbers

    · Strings

    · String Methods

    · Sequence Operations

    · Indexing and Slicing

    · Formatting Strings

    · Conversion Functions

    Language Components

    · Indenting Requirements

    · The if Statement

    · Relational and Logical Operators

    · The while Loop

    · break and continue

    · The for Loop


    · Introduction

    · Lists

    · Tuples

    · Sets

    · Dictionaries

    · Sorting Collections

    · Custom Sorting


    · Introduction

    · Defining Your Own Functions

    · Parameters and Arguments

    · Function Documentation

    · Named Arguments

    · Optional Arguments

    · Passing Collections to a Function

    · Variable Number of Arguments

    · Variable Number of Keyword Arguments

    · Scope

    · Functions – “First Class Citizens”

    · map

    · filter

    · A Dictionary of Functions

    · Nested Functions

    · lambda

    · Recursion


    · What is a Module

    · Modules

    · The dir Function

    · The sys Module

    · Numeric and Mathematical Modules

    · Time and Date Modules

    Classes in Python

    · Principles of Object Orientation

    · Defining New Data Types

    · Properties as Decorators

    · Special Methods

    · Class Variables

    · Inheritance

    · Polymorphism

    · Type Identification


    · Errors and Exceptions

    · The Exception Model

    · Exception Handling

    · Exception Hierarchy

    · Raising Exceptions

    · User-Defined Exceptions

    · assert

    Input and Output

    · Introduction

    · Creating Your Own Data Streams

    · Writing to a Text File

    · Reading From a Text File

    · bytes and bytearray Objects

    · Reading and Writing Binary Files

    · Random Access

    · Working With Files and Directories

    Data Structures

    · List Comprehensions

    · Dictionary Comprehensions

    · Dictionaries with Compound Values

    · Generators

    · Generator Expressions

    · Processing Parallel Collections

    · Specialized Sorts

    Regular Expressions

    · Introduction

    · Simple Character Matches

    · Character Classes

    · Quantifiers

    · Greedy and Non-Greedy Quantifiers

    · Alternatives

    · Matching at Beginning and/or End

    · Grouping

    · Additional Functions

    · Flags

    Working with JSON and XML Data

    · Understanding JSON

    · Mapping JSON data types to Python data types

    · Reading and writing JSON data

    · Understanding http requests

    · Requesting JSON data from an API

    · Understanding XML

    · Reading and writing XML data

    · Requesting XML data from an API

    · Comparing JSON and XML

    SQL Database

    · Introduction

    · sqlite3

    · Working with Tables

    · Inserting Records

    · Selecting Records

    · Additional SQL Queries

    · Updates and Deletes

    · Table Descriptions

    · Writing Database Scripts