Python Training

Python Training Overview

Download PDF

Python is a powerful, compact, open source language focusing on artifacts. The course starts by easily reviewing the basic elements: variables, flow control, functions modules, packages and standard libraries. Python OO programming is provided by a first evaluation approach. Instead, the program explores in detail the concepts of knowledge and exception management.

Python Training Objective

  • Using REPL 
  • Writing your first Python script 
  • Use and manipulate variables
  • Using lists, tuples, and dictionaries
  • Creating custom function and invoking 
  • Creating classes 
  • Understanding standard library 
  • Using or importing modules and packages of user-defined or implicit
  • Handling exceptions and creating a user-defined exception
  • Performing CRUD operation 
  • Use iterators and be introduced to generators

Python Training Audience

Anybody who is interested to learn python programming, and who wants to get into Artificial Intelligence, Machine learning, data science. 

Python Training Prerequisites

For this course, previous programming experience is optional. Having the understanding of OOP and basic syntax of any programming would good. 

Python Training Outline

 Invoking the Interpreter

Argument Passing

Interactive Mode

The Interpreter and Its Environment

Source Code Encoding

Using Python as a Calculator

Numbers

Strings

 Lists

First Steps Towards Programming

if Statements

 for Statements

The range() Function

break and continue Statements, and else Clauses on Loops

pass Statements

Defining Functions

More on Defining Functions

 Default Argument Values

Keyword Arguments

Arbitrary Argument Lists

Unpacking Argument Lists

Lambda Expressions

Documentation Strings

 Function Annotations

 Intermezzo: Coding Style

 More on Lists

 Using Lists as Stacks

Using Lists as Queues

List Comprehensions

 Nested List Comprehensions

The del statement

Tuples and Sequences

 Sets

Dictionaries

Looping Techniques

 More on Conditions

Comparing Sequences and Other Types

 More on Modules

 Executing modules as scripts

The Module Search Path

“Compiled” Python files

Standard Modules

The dir() Function

 Packages

 Importing * From a Package

Intra-package References

 Packages in Multiple Directories

Fancier Output Formatting

Formatted String Literals

The String format() Method

Manual String Formatting

 Old string formatting

Reading and Writing Files

Methods of File Objects

Saving structured data with json

Syntax Errors

 Exceptions

Handling Exceptions

 Raising Exceptions

User-defined Exceptions

 Defining Clean-up Actions

 Predefined Clean-up Actions

A Word About Names and Objects

Python Scopes and NamespacesScopes and Namespaces Example

A First Look at Classes

Class Definition Syntax

Class Objects

 Instance Objects

 Method Objects

 Class and Instance Variables

 Random Remarks

 Inheritance

 Multiple Inheritance

 Private Variables

 Odds and Ends

Iterators

 Generators

 Generator Expressions

 Operating System Interface

 File Wildcards

Command Line Arguments

 Error Output Redirection and Program Termination

String Pattern Matching

 Mathematics

Internet Access

 Dates and Times

 Data Compression

 Performance Measurement

 Quality Control

Batteries Included

 Output Formatting

 Templating

 Working with Binary Data Record Layouts

 Multi-threading

Logging

 Weak References

 Tools for Working with Lists

 Decimal Floating Point Arithmetic

Introduction

 Creating Virtual Environments

 Managing Packages with pip

 Tab Completion and History Editing

Alternatives to the Interactive Interpreter

  • Why and Why Not Unit Tests
  • Patterns for Unit Testing
  • Mock Object Introduction
  • Introduction to Database Programming
  • Processing Select Statements
  • Executing Input and Update Statements
  • Introduction to MatPlotLib Artist Model
  • Introduction to Bokeh
Skills

Register

[miniorange_social_login shape="longbuttonwithtext" theme="default" space="4" width="300" height="50" color="000000"]