Code: SCRIPT-003
Duration: 20 hours
Duration: 20 hours
Description
This training course helps participants understand the Python® programming language. Python® is a remarkably powerful dynamic programming language that is used in a wide variety of application domains, including telecom.Python is often compared to PHP, Perl®, Ruby, Scheme or Java®.
Roadmap
Python BasicsBest practices in Python development
- Document your code
- __slots__
- Static field and method
- Organize your code by modules
Function as an object
- Function basics
- Closure
- Decorator
- Functor
Object lifetime
- __new__ method
- Attribute and method access
- __del__ method
Work with resource
- File
- TCP/IP stack
- Implement Context manager
Work with data
- Compare magic methods
- Arithmetic magic methods
- Type conversion magic methods
- Representing the class and copy
Iterator and generator
- Iterator conception
- Iterator with magic methods
- Yield operator
- List Generator
Exercises
Objectives
- Learn advanced techniques for using Python.
- Why Python® is so popular and why you would want to learn it. The user-base is large, the code looks nice and it’s easy to learn.
- A short recap of data types, how to write functions, flow control and classes.
- Real life python with a lot of examples.
Target Audience
Developers, system administrators and QA engineers, who want to be able to develop, automate and test applications and systems using one of the most powerful programming languages available today.Prerequisites
- Basic general programming knowledge.
- Ability to understand logical code flows.