Code: PRG400
Duration in days: 4
Download: Infosheet
€ 1750

Course Python Programming

03-09 till 06-09-2018 start guarantee
24-09 till 27-09-2018
22-10 till 25-10-2018
26-11 till 29-11-2018
18-12 till 21-12-2018
Your starting date

Audience Course Python Programming

PRG400-Python Programming.jpgThe Course Python Programming is intended for Developers and system administrators who want to learn how to program in Python and other persons who want to understand Python code.

Prerequisites Python Programming Course

Knowledge and experience with programming is not strictly required to participate in this course. Experience in programming is however is beneficial for a proper understanding.

Realization Training Python Programming

The theory is treated on the basis of presentation slides. Illustrative demos are used to clarify the concepts further. The theory is interspersed with practical exercises. The course material is in English.

Certificate Python Programming

Participants receive an official certificate Python Programming after successful completion of the course.

Contents Course Python Programming

In the course Python Programming participants learn how to program in the object-oriented scripting language Python. Python is a language that is often used for installation scripts and for prototypes of large applications. After an introduction on the installation and the different ways to execute scripts, the basic concepts such as declarations, variables and control flow structures are discussed. Attention is also paid to collection structures, such as Lists, Tuples and Dictionaries. Next the focus is on the use of functions with the different methods of parameter passing, such as by value and by reference. The scope of variables and lambda functions are also discussed here. Subsequently attention is paid to the division of Python software into modules and the use of namespaces and packages. Comprehensions in Python and functional programming are discussed as well as the handling of errors in scripts using exception handling. Next the functionality of various Python library functions for accessing files is the subject matter and attention is paid to database access with the Python Database API. Also object-oriented programming with classes and objects is treated. In this respect concepts such as properties, constructors and encapsulation are highlighted. Finally if time allows, optional attention is paid to different libraries for Regular Expressions, unit testing and date and time. A follow up on this course is the course Advanced Python Programming .

Module 1 : Python Intro

Module 2 : Variables and Data Types

Module 3 : Data Structures

What is Python?
Python Features
Getting Started
Setting up PATH
Environment Variables
Running Python
Interactive Mode
Script Mode
Reserved Words
Lines and Indentation
Multi Line Statements
Data Types
Python Numbers
Numerical Types
Number Type Conversions
Conversion Functions
Built-in Number Functions
Python Strings
String Operators and Operations
String Formatting
Triple Quotes
Raw and Unicode Strings
Built-in String Functions
Sequences and Lists
Accessing and Updating Lists
Multidimensional Lists
List Operations
List Functions and Methods
Accessing Values in Tuples
Tuple Functions
Bytes and Byte Arrays
Sets and Dictionaries
Accessing Values in Dictionaries
Properties of Dictionary Keys
Dictionary Methods

Module 4 : Control Flow and Operators

Module 5 : Functions

Module 6 : Modules

Control Flow Constructs
if Statement
else Statement
elif Statement
while Loop
for Loop
break Statement
continue Statement
Loop with else Combination
pass Statement
Python Operators
Operator Precedence
Function Syntax
Calling Functions
Pass by Value
Pass by Reference
Overwriting References
Function Arguments
Keyword Arguments
Default Arguments
Variable Length Arguments
Lambda Functions
return Statement
Scope of Variables
import Statement
from…import Statement
Locating Modules
Creating and Using Modules
dir Function
Python Packages
Explict Import Modules
Implicit Import Modules
Namespaces and Scoping
globals and locals Functions
reload Function
Test Harnass

Module 7 : Comprehensions

Module 8 : Excepting Handling

Module 9 : Python IO

Functional Programming
Map and Filter
Reduce and Lambda
List Comprehensions
Filtered List Comprehension
Syntactic Sugar
Dictionary Construction with Zip
Dictionary Comprehension
Dictionary from Keys
Set Comprehension
Unexpected Errors
Typed Exception Handling
Exception Handling with Else
except Clause Multiple Exceptions
Standard Exceptions
try-finally Clause
Exception Arguments
Raising Exceptions
Example raising Exceptions
User Defined Exceptions
Input and Output
IO Module
Opening Files
File Open Modes
Reading and Writing Binary Files
Reading and Writing Text Files
File Positions
Renaming and Deleting Files
Directory Methods
Creating Directories

Module 10 : Python Database Access

Module 11 : Python Classes

Module 12 : Optional : Python Libraries

Python DB API
Using with
Inserting Data
Prepared Statements
Last inserted row id
Retrieving Data
Fetching Rows
Parameterized Queries
Object Orientation
Creating Classes
Class Members
Creating and Using Objects
Accessing Attributes
Property Syntax
Built-in Class Attributes
Constructors and Destructors
Regular Expressions
match Function
Matching versus Searching
Search and Replace
Unit Testing
Unit Test Example
Date and Time Handling
Time Tuple
Calendar Functions

SpiralTrain BV

Gebouw "De Sijnsmeester"
Standerdmolen 8 – 1.11
3995 AA Houten

IP Computer Training Centrum
Diemerhof 32-36
1112 XN Diemen

020 7600027

Compu Act Opleidingen
Slinge 303
3085 ER Rotterdam

023 - 551 3409

Kleine Singel 33
3572 CG Utrecht

030 - 737 05 81

IP Computer Training Centrum
Leenderweg 292
5644 AE Eindhoven

040 - 256 65 20