Duration
2 days
Overview
Initially Guido van Rossum's 1989 holiday project, Python has grown into an amazing computer language. It's a joy to learn and read, and powerful enough to handle everything from low-level system resources to advanced applications like deep learning. Elegantly simple and complete, it also boasts a massive ecosystem of libraries and frameworks. Python programmers are in high demand; you can't afford not to be fluent!
Course Prerequisite
Knowledge and experiences working with basic python programming is required.
Course Outline
- Unicode and Byte Strings
- String Changes in 3.X
- String Basics
- Coding Basic Strings
- Coding Unicode Strings
- Using 3.X bytes Objects
- Using 3.X/2.6+ bytearray Objects
- Using Text and Binary Files
- Using Unicode Files
- Other String Tool Changes in 3.X
- Managed Attributes
- Why Manage Attributes?
- Properties
- Descriptors
- __getattr__ and __getattribute__
- Attribute Validations
- Decorators
- What Is a Decorator?
- The Basics
- Coding Function Decorators
- Coding Class Decorators
- Managing Functions and Classes Directly
- “Private” and “Public” Attributes
- Validating Function Argument
- Metaclasses
- To Metaclass or Not to Metaclass
- The Metaclass Model
- Declaring Metaclasess
- Coding Metaclasses
- Inheritance and Instance
- Metaclass Methods
- Adding Methods to Classes
- Applying Decorators to Methods
Programme scope, delivery arrangements and suitability are confirmed during enquiry.