Seminar Python Programming (Canada) Seminar

Presented by Hands-On Technology Transfer

Hands On Technology Transfer Computer Training

Bring this seminar on-site to your facility for groups of 10 or more.

This hands on Python programming course shows how to rapidly develop and maintain effective Python programs.

Course Description


This hands on Python programming course shows how to rapidly develop and maintain effective Python programs. The course includes thorough coverage of Python syntax, built in data types and control constructs. The course takes a practical approach to creating and organizing Python programs using functions, packages, modules and classes as part of Python's object-oriented paradigm. Attendees will learn to identify and correct problems through unit testing and exception handling. Attendees will use regular expressions to rapidly process data captured from users and from the file system.

Attendees will learn how to use Python to create scripts that manipulate data, automate tasks, perform error handling and store and retrieve data by using relational databases and XML files. Students will be able to create Python scripts that assist with system administration, web services and web applications. Students will learn how to create GUI based Python programs to gracefully interact with the user.

Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Course Prerequisites: Prior scripting experience or knowledge of fundamental programming concepts.


What You Will Learn

  • Python Language Syntax
  • Flow Control Constructs
  • Python Program Deployment
  • Organizing Code Using Functions
  • Programming for User Interaction
  • Database Connectivity
  • Using Regular Expressions to Manipulate Data
  • Processing XML Files
  • Web Application Programming
  • Exception Handling
  • GUI Programming Concepts


Workshop Agenda

Introduction to Python 3
  • Origin and Goals of Python
  • Overview of Python Features
  • Getting and Installing Python
  • Accessing Python Documentation: Python Enhancement Proposals (PEP)
  • Python's Strengths
  • Using Python with Other Programming Languages
Using Python
  • Executing Python Programs from the Command Line
  • Creating and Executing Python Programs Using IDLE
  • Python Command Line Options
  • Environment Variables that Influence Python
  • Creating Python GUI Applications
    • Standalone vs. Web-Enabled Interfaces
  • The Python Standard Library
Language Fundamentals
  • Python's Lexical Analyzer
  • Using Whitespace to Structure Programs
  • Identifiers and Keywords
  • Python's Execution Model
    • Naming Objects and Binding
  • Python's Data Model
    • Immutable and Mutable Objects
    • Values
    • Types
  • Creating and Using Variables
Flow Control Constructs
  • if/elif/else Statements
  • Creating Loops with while and for
  • Understanding Iterators
  • Returning Values with return Statements
  • Loop Modification with break and continue
  • Returning Generator Iterators with the yield Statement
  • Retrieving Iterators with next()
Expressions
  • Unary and Binary Arithmetic Operations
  • Comparison and Boolean Operations
  • Conditional Expressions
  • Lambda Expressions
  • Order of Operations and Operator Evaluation
  • Expression Lists
  • Assignment Operations
Exception Handling
  • Types of Python Exceptions
  • Handling Exceptions with try/except/finally
  • Triggering Exceptions with raise
  • Defining New Exception Types
  • Implementing Exception Handling in Functions, Methods and Classes
  • Working with the Regular Expression Error Exception
Unit Testing and Debugging
  • Using docstrings to Document Code
  • Instrumenting Code with print Statements
  • Testing Programs with PyUnit
  • Creating Tests with the TestCase Object
  • Organizing Tests with the TestSuite Object
  • Working with pdb (Python Debugger)
Using the String Object
  • Using ASCII and Unicode Strings
  • Manipulating Strings with String Methods
  • Using the format() Function to Format Strings
  • Using Escape Sequences
  • Working with Raw Strings
Arrays, Collections and Dictionaries
  • Sequenced Data Structures
    • Arrays
    • Collections
    • Dictionaries
  • Creating and Accessing Lists
  • Manipulating Lists
  • Creating and Accessing Tuples
  • Understanding the Differences Between Lists and Tuples
  • Using Dictionaries to Create Data Records
  • Manipulating Dictionaries Using Dictionary Methods
  • Creating Sets
  • Performing Set Operations
    • Union
    • Intersect
    • Difference
  • Differences Between Sets and Dictionaries
  • Using Generators to Return Iterators
Organizing Code
  • Defining Functions
  • Calling Functions
  • Creating Anonymous Functions
  • Altering Function Functionality with Decorator Functions
  • Creating Classes with the class Statement
  • Creating Objects as Class Instances
  • Using Preexisting Classes as the Basis of a New Class
  • Using Modules to Group Related Functions, Classes and Variables
  • Locating and Importing Modules
  • Using Packages to Group Modules Together
Working with Arguments
  • Passing Arguments to Functions by Reference and by Value
  • Defining Functions with Required Arguments
  • Defining Functions with Default Arguments
  • Defining Flexible Functions that Take Variable Length Arguments
GUI Programming
  • GUI Programming Concepts
  • GUI Programming Frameworks
  • Installing the Tkinter Framework
  • Using Tkinter to Create GUIs
  • Using Tkinter Widgets
Object Oriented Programming Concepts
  • The Object Oriented Programming Paradigm
  • Encapsulating Information
  • Classes vs. Instances of Objects
  • Built-in Class Attributes
  • Implementing Class Inheritance
  • Using Objects in Code
Working with XML Data
  • Discussing Python XML Processing Modules
  • Importing the ElementTree API
  • Parsing XML Documents
  • Searching XML Documents for Specific Nodes
  • Creating XML Documents
  • Using XML to Exchange Data Between Python Programs
Regular Expressions
  • Regular Expression Syntax
  • Using Regular Expressions in Python
  • Altering Regular Expression Processing with Regular Expression Modifiers
  • Using Regular Expression Operators
  • Scanning Through Strings Using the search() and match() Methods
  • Creating Reusable Patterns by Using the compile() Method
I/O Handling
  • Sending Output to STDOUT Using the print() Method
  • Reading Input with the input() Method
  • Creating File Objects with the open() Method
  • Controlling File Access Modes
  • Working with File Object Attributes
  • Closing File Objects with the close() Method
  • Reading and Writing to File Objects with read() and write()
  • Using File Processing Functions from the OS Module
Data Management
  • Embedding SQLite Databases in Applications
  • Best Practices for Data Management
  • Storing Data in Local Databases
  • Discussing and Understanding the DB API
  • Understanding and Using Common SQL Statements
  • Connecting to a SQLite Database
  • Using Cursors to interact with Data from a Database
  • Implementing Error Handling with Database Connections
Web Application Programming
  • Using Web and Network Programming Modules
  • Understanding Service Oriented Architecture (SOA)
  • Connecting to Web Services
  • Creating an HTTP Client
  • Working with HTTP Servers

 

More Seminar Information

Hands-On Technology Transfer
Hands On Technology Transfer Computer Training

Summary

This hands on Python programming course shows how to rapidly develop and maintain effective Python programs.

Delivery Method

Seminar Seminar

Also Available As

On-Site Training On-Site Training

Who Should Attend

Programmers

 
Search similar training
Email this page
Print this document
 

Dates and Locations

Quebec City, QC
4/20/2020 - 4/23/2020
Tuition: $2075

Montreal, QC
4/20/2020 - 4/23/2020
Tuition: $2075

Toronto, ON
4/20/2020 - 4/23/2020
Tuition: $2075

Ottawa, ON
4/20/2020 - 4/23/2020
Tuition: $2075

Mississauga, ON
4/20/2020 - 4/23/2020
Tuition: $2075

see all dates/locations

 

Frequently Asked
Questions

Payment Options
Bill Me/Invoice
Credit Card

Register
Online
Fax Form

Availability
Select a date from the list at the bottom of the page for specific information about that class.

Other Information
Seminar

All Date/Location Information

Alberta (Find training in Alberta)
5/4/2020-5/7/2020 in Calgary, AB         Find a seminar in Calgary AB
5/4/2020-5/7/2020 in Edmonton, AB         Find a seminar in Edmonton AB

British Columbia (Find training in British Columbia)
5/4/2020-5/7/2020 in Vancouver, BC         Find a seminar in Vancouver BC

Manitoba (Find training in Manitoba)
5/4/2020-5/7/2020 in Winnipeg, MB         Find a seminar in Winnipeg MB

Ontario (Find training in Ontario)
4/20/2020-4/23/2020 in Kingston, ON         Find a seminar in Kingston ON
4/20/2020-4/23/2020 in Mississauga, ON         Find a seminar in Mississauga ON
4/20/2020-4/23/2020 in Ottawa, ON         Find a seminar in Ottawa ON
4/20/2020-4/23/2020 in Toronto, ON         Find a seminar in Toronto ON

Quebec (Find training in Quebec)
4/20/2020-4/23/2020 in Montreal, QC         Find a seminar in Montreal QC
4/20/2020-4/23/2020 in Quebec City, QC         Find a seminar in Quebec City QC

Saskatchewan (Find training in Saskatchewan)
5/4/2020-5/7/2020 in Regina, SK         Find a seminar in Regina SK