-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
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 data analysis, installation scripts and 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 .
The 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.
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.
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.
Participants receive an official certificate Python Programming after successful completion of the course.
Module 1 : Python Intro |
Module 2 : Variables and Types |
Module 3 : Data Structures |
What is Python? Python Features Getting Started Setting up PATH Environment Variables Running Python Interactive Mode Script Mode Identifiers Reserved Words Lines and Indentation Multi Line Statements Quotes |
Variables Data Types Python Numbers Numerical Types Number Type Conversions Conversion Functions Built-in Number Functions Python Strings String 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 Tuples 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 |
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 : Exceptions |
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 : Database Access |
Module 11 : Python Classes |
Module 12 : Python Libraries |
Python DB API Using with Inserting Data Prepared Statements Last inserted row id Retrieving Data Fetching Rows Parameterized Queries Transactions |
Object Orientation Creating Classes Class Members Creating and Using Objects Accessing Attributes Property Syntax Built-in Class Attributes Constructors and Destructors Encapsulation |
Regular Expressions match Function Matching versus Searching Search and Replace Unit Testing Unit Test Example Date and Time Handling Time Tuple Calendar Functions |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.