Beskrivning
Target Group
Programmers, testers and others involved in projects that will involve Python as a coding language.
Prerequisites
Basic understanding of the Python language and some experience of programming Python. Knowledge similar to the course ”Python Programming – Introduction”.
Course Overview
Day 1
Datatypes and the object hierarchy
Functions
- The func-object
 - The def keywords
 - Lambda functions
 - Nested functions
 - Closures
 - Decorators
 
Iterators
- Fast enumeration
 - The iteration protocol
 - Iterables
 - Iterators
 - The iteration interface
 - Iterators as separate objects
 
Comprehensions
- List Comprehensions
 - Nested comrehensions
 - Dict Comprehensions
 - Set Comprehensions
 
Advanced iterators
- Generator Expressions
 - Generator Comprehensions
 - Generator functions
 - Generator objects
 - The Yield keyword
 - Generator iterators
 
Objects, classes and instances
- Old-style vs new-style classes
 - Magic special methods
 - Instance attributes
 - Class attributes
 - Attribute lookup chain
 - Emulate built-in objects
 - Creating callables
 - Creating containers
 - Rich comparison methods
 - @classmethod
 - @staticmethod
 - Abstract classes
 - @property
 - Static variable behavior
 - __slots__
 
Sorting & Reversing
- Sorting lists
 - Sorting dicts
 - Sorting instances
 - Sorting iterables
 - Operator methodcaller
 - Reversing strings
 - Reversing lists
 - Reversing iterables
 
Kursen levereras i samarbete med

                        





                        
                      
Recensioner
Det finns inga recensioner än.