Course 645:
Python 3.x Programming Essentials

(4 days)


Course Description

Python is probably the easiest computer programming to learned and be adapted. It is used by grade school robotic clubs to control their robots and by business analysts to extract insights from big data using the latest of machine learning techniques and then write interactive reports. At the end of this course, students will be able to use Python 3 to create useful programs. The course starts with a 1-hour quick start showing how programing is done in the Pythonic way. No prior knowledge of computer programming is required. Working from this small beginning, program flow, functions, and classes are taught by explaining the concepts, working through example programs, and writing original software to solve problems. The student learns how to use the excellent and extensive documentation of Python 3 to extend their Python skills in any discipline. This course uses the latest version of Python 3. Work is done in the ipython and PyCharm Integrated Development Environments (IDEs).

Learning Objectives

  • Learn how to access documentation
  • Be able to perform simple debugging
  • Understand the different integer data types
  • Understand the different string data types
  • Understand byte and bytearray data types
  • Use if, try, while, and for program flow control
  • Know how to design and implement functions
  • Be able to import a module and install a module form PyPI
  • Know how to use a lambda function
  • Understand iterators and generators
  • Perform simple exception handling
  • Know how to build data types (class) to include single inheritance

Who Should Attend

Individuals wishing to learn how to program in a powerful language available on all operating systems which is integrated in all disciplines.

Suggested Prerequisites

Having basic computer keyboard and mouse capabilities is assumed.

Course Outline

Unit 1: Quick Start

  • Using ipython
  • Help and Documentation
  • Simple I/O
  • Creating and Executing Scripts
  • Simple Debugging

Unit 2: Variable Fundamentals

  • Variables, References, and Objects
  • Numeric Data Types
  • String Data Types
  • RE Introductions

Unit 3: Basic Program Flow

  • if
  • while
  • for

Unit 4: Basic Data Structures

  • Lists
  • Tuples
  • Dictionaries
  • Sets
  • bytes and bytearray

Unit 5: Functions and Lambdas

  • Polymorphism
  • Scope Rules, Global, and Nonlocal
  • return
  • Functions and Share Objects
  • Details of Argument Definition and Passing
  • Functions as Objects
  • Lambda Functions

Unit 6: Working with Modules and Package

  • Modules and Packages
  • Importing Rules
  • What Is PyPI or the Cheese Shop?
  • Types of Install Packages
  • How to use pip
  • Virtual Environments
  • Building Private Packages – importlib

Unit 7: Iterators and Generators

  • Iterator Basics
  • Dictionary Iterators
  • Views vs. Iterators
  • Generators

Unit 8: Exception Handling

  • print and input
  • io Module and builtin
  • Context Management

Unit 9: File Handling

  • print and input
  • io Module vs. builtin Function
  • Handling Byte, Character, and Unicode from Files
  • StringIO
  • Context Management: with

Unit 10: Python Object Fundamentals

  • Classes
  • Instances
  • Attributes
  • Methods
  • Properties
  • Inheritance
  • Operating Overloading

Please Contact Your ROI Representative to Discuss Course Tailoring!