Python Programmeren
Lesgeld
Cursus Python Programmeren
In de cursus Python Programmeren leer je de fundamenten van de populaire programmeertaal Python. Deze cursus is ontworpen voor zowel beginners als degenen die hun kennis willen opfrissen. We beginnen met een inleiding over de installatie en de verschillende manieren om scripts uit te voeren, en bespreken vervolgens de basisbegrippen zoals declaraties, variabelen en control flow structures.
Python Fundamentals
Na de basis leggen we de focus
Cursus Python Programmeren
In de cursus Python Programmeren leer je de fundamenten van de populaire programmeertaal Python. Deze cursus is ontworpen voor zowel beginners als degenen die hun kennis willen opfrissen. We beginnen met een inleiding over de installatie en de verschillende manieren om scripts uit te voeren, en bespreken vervolgens de basisbegrippen zoals declaraties, variabelen en control flow structures.
Python Fundamentals
Na de basis leggen we de focus op de essentiële elementen van Python. Dit omvat het werken met variabelen en het begrijpen van control flow, wat cruciaal is voor het ontwikkelen van efficiënte scripts.
Data Structuren en Functies
Ook besteden we aandacht aan de collection structures, zoals Lists, Tuples en Dictionaries. Vervolgens richten we ons op het gebruik van functies en de verschillende methoden van parameter passing, zoals by value en by reference. Daarnaast behandelen we de scope van variabelen en lambda functies.
Modules en Packages
In deze cursus Python Programmeren bespreken we ook de opdeling van Python software in modules. Het gebruik van namespaces en packages wordt toegelicht, evenals comprehensions in Python en functioneel programmeren. We leren ook hoe om te gaan met fouten in scripts met behulp van exception handling.
File en Database Access
Verder staat de functionaliteit van diverse Python library functies voor het benaderen van files op het programma. We besteden ook aandacht aan database access met de Python Database API, wat essentieel is voor het werken met gegevens.
Classes en Objects
Daarnaast behandelen we object georiënteerd programmeren met classes en objects. In dit onderdeel worden concepten als properties, constructors en encapsulation belicht.
Python Libraries
Tenslotte, als de tijd het toelaat, besteden we optioneel aandacht aan verschillende libraries voor Reguliere Expressies, unit testing en date and time. Voor een verdere verdieping op deze cursus kun je de cursus Advanced Python Programmeren volgen. Voor meer informatie over Python, kijk op de officiële Python website.
Doelgroep voor de Cursus Python Programmeren
De cursus Python Programmeren is bedoeld voor developers en systeembeheerders die willen leren programmeren in Python en andere personen die Python code willen begrijpen.
Voorkennis voor de Training Python Programmeren
Kennis en ervaring met programmeren is niet strikt noodzakelijk om deel te nemen aan deze cursus. Ervaring in programmeren is wel bevorderlijk voor een goede begripsvorming.
Uitvoering Training Python
De theorie in de cursus Python Programmeren wordt behandeld aan de hand van presentatie slides. Illustratieve demo's verduidelijken de concepten. De theorie wordt afgewisseld met oefeningen. De cursustijden zijn van 9.30 tot 16.30.
Certificaat Python Programmeren
De deelnemers krijgen na het goed doorlopen van de cursus een officieel certificaat Python Programmeren.
Modules
Module 1 : Python Intro
- 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
Module 2 : Variables and Types
- 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
Module 3 : Data Structures
- 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
- 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
Module 5 : Functions
- 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
Module 6 : Modules
- 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
- 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
Module 8 : Exceptions
- 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
Module 9 : Python IO
- 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
- Python DB API
- Using with
- Inserting Data
- Prepared Statements
- Last inserted row id
- Retrieving Data
- Fetching Rows
- Parameterized Queries
- Transactions
Module 11 : Python Classes
- Object Orientation
- Creating Classes
- Class Members
- Creating and Using Objects
- Accessing Attributes
- Property Syntax
- Built-in Class Attributes
- Constructors and Destructors
- Encapsulation
Module 12 : Python Libraries
- Regular Expressions
- match Function
- Matching versus Searching
- Search and Replace
- Unit Testing
- Unit Test Example
- Date and Time Handling
- Time Tuple
- Calendar Functions