Course
PYTHO2
Python – Advanced («PYTHO2»)
In this course, you will familiarise yourself even more deeply with Python and learn how to use the programming language in networks and system administration.
Duration
3 days
Price
3'375.–
Course facts
- Creating object-oriented Python scripts
- Knowing the most important modules for Python network programming
- Creating system scripts with Python
1 A brief recap of Python basics
2 Object-oriented programming in Python
- Modules, packages, classes and objects
- Access to attributes
- Inheritance
- Magic methods
3 Integrators
- Comprehensions
- Generators
- Iterator Protocol, itertools
4 Regular expressions
- Match object
5 System functions
- The os, sys, psutil modules
- Creating sub-processes (subprocess)
- Arguments of scripts (argparse)
6 Parallel programming
- Threads
- Processes
7 Using Python in the network
- Creating listeners
- Checking connections
8 Quality assurance
- Documentation docstrings
- Logs
- Automated testing (doptest, unktest)
- Performance analysis
9 Working with XML and JSON
10 Programming style and best practices
We work on the topics of object-orientated programming, Python in the network and system administration with Python for approximately one day each. Participants will develop their own solutions during the course, based on practical examples and short theoretical teaching blocks.
This is aimed at people who regularly have to create Python scripts for one of the above-mentioned topics.
Attendance of the following course or equivalent knowledge: