English | Size: 12.67 GB
Genre: eLearning
Sequences, Iterables, Iterators, Generators, Context Managers
What you’ll learn
You’ll be able to leverage the concepts in this course to take your Python programming skills to the next level.
Sequence Types and the sequence protocol
Iterables and the iterable protocol
Iterators and the iterator protocol
List comprehensions and their relation to closures
Generator functions
Generator expressions
Context managers
Creating context managers using generator functions
Using Generators as Coroutines
Part 2 of this Python 3: Deep Dive series is an in-depth look at:
sequences
iterables
iterators
generators
comprehensions
context managers
I will show you exactly how iteration works in Python – from the sequence protocol, to the iterable and iterator protocols, and how we can write our own sequence and iterable data types.
We’ll go into some detail to explain sequence slicing and how slicing relates to ranges.
We look at comprehensions in detail as well and I will show you how list comprehensions are actually closures and have their own scope, and the reason why subtle bugs sometimes creep in to list comprehensions that we might not expect.
We’ll take a deep dive into the itertools module and look at all the functions available there and how useful (but overlooked!) they can be.
We also look at generator functions, their relation to iterators, and their comprehension counterparts (generator expressions).
Context managers, an often overlooked construct in Python, is covered in detail too. There we will learn how to create and leverage our own context managers and understand the relationship between context managers and generator functions.
Each section is followed by a project designed to put into practice what you learn throughout the course.
This course series is focused on the Python language and the standard library. There is an enormous amount of functionality and things to understand in just the standard CPython distribution, so I do not cover 3rd party libraries – this is a Python deep dive, not an exploration of the many highly useful 3rd party libraries that have grown around Python – those are often sufficiently large to warrant an entire course unto themselves! Indeed, many of them already do!
** Prerequisites **
Please note that this is a relatively advanced Python course, and a strong knowledge of some topics in Python is required.
In particular you should already have an in-depth understanding of the following topics:
functions and function arguments
packing and unpacking iterables and how that is used with function arguments (i.e. using *)
closures
decorators
Boolean truth values and how any object has an associated truth value
named tuples
the zip, map, filter, sorted, reduce functions
lambdas
importing modules and packages
You should also have a basic knowledge of the following topics:
various data types (numeric, string, lists, tuples, dictionaries, sets, etc)
for loops, while loops, break, continue, the else clause
if statements
try…except…else…finally…
basic knowledge of how to create and use classes (methods, properties) – no need for advanced topics such as inheritance or meta classes
understand how certain special methods are used in classes (such as __init__, __eq__, __lt__, etc)
Who this course is for:
Python developers who want a deeper understanding of sequences, iterables, iterators, generators and context managers.
rapidgator.net/file/294d7381e1c1a637916da1c424f0a06f/Python3DeepDivePart2-IterationGenerators.part01.rar.html
rapidgator.net/file/15842cefca7b319b386203b6bcb4c724/Python3DeepDivePart2-IterationGenerators.part02.rar.html
rapidgator.net/file/111e03dd21ad3cb835164468bdb69d54/Python3DeepDivePart2-IterationGenerators.part03.rar.html
rapidgator.net/file/a7578c8a6c9ebbe199f28a69e59f5295/Python3DeepDivePart2-IterationGenerators.part04.rar.html
rapidgator.net/file/6ae63eba0ae81840b9234e20929e6e82/Python3DeepDivePart2-IterationGenerators.part05.rar.html
rapidgator.net/file/08280e523f7ac29089a525dcfd55d0ba/Python3DeepDivePart2-IterationGenerators.part06.rar.html
rapidgator.net/file/8db4b8eda392c05422e24a465a89ac48/Python3DeepDivePart2-IterationGenerators.part07.rar.html
rapidgator.net/file/4ac74a8f7634982048a447affdfe2672/Python3DeepDivePart2-IterationGenerators.part08.rar.html
rapidgator.net/file/42b83a8069136141be5d9d4df2f290ef/Python3DeepDivePart2-IterationGenerators.part09.rar.html
rapidgator.net/file/69a87f3cb017611c72843eb8ece97024/Python3DeepDivePart2-IterationGenerators.part10.rar.html
rapidgator.net/file/78237bef14cc7e46434c554bb080b0c4/Python3DeepDivePart2-IterationGenerators.part11.rar.html
rapidgator.net/file/d2dfb4bf1f082041f5934d393a568bba/Python3DeepDivePart2-IterationGenerators.part12.rar.html
rapidgator.net/file/e44e448881f00ed29e3db5d9673cdd8c/Python3DeepDivePart2-IterationGenerators.part13.rar.html
tbit.to/gq9ddi243hrn/Python3DeepDivePart2-IterationGenerators.part01.rar.html
tbit.to/qse4y9dv1ydv/Python3DeepDivePart2-IterationGenerators.part02.rar.html
tbit.to/zu5sfb8ddsgb/Python3DeepDivePart2-IterationGenerators.part03.rar.html
tbit.to/f3h794omisvz/Python3DeepDivePart2-IterationGenerators.part04.rar.html
tbit.to/kd2mkbujfqhd/Python3DeepDivePart2-IterationGenerators.part05.rar.html
tbit.to/qdlwm08d4vgb/Python3DeepDivePart2-IterationGenerators.part06.rar.html
tbit.to/0tdsd6tn70wh/Python3DeepDivePart2-IterationGenerators.part07.rar.html
tbit.to/x1081g3gndv2/Python3DeepDivePart2-IterationGenerators.part08.rar.html
tbit.to/dgsycyo9ysh3/Python3DeepDivePart2-IterationGenerators.part09.rar.html
tbit.to/uychrqccsdsl/Python3DeepDivePart2-IterationGenerators.part10.rar.html
tbit.to/yysrmqpv102s/Python3DeepDivePart2-IterationGenerators.part11.rar.html
tbit.to/9epgw0aqrj8u/Python3DeepDivePart2-IterationGenerators.part12.rar.html
tbit.to/1xw3l4eapze6/Python3DeepDivePart2-IterationGenerators.part13.rar.html
If any links die or problem unrar, send request to
forms.gle/e557HbjJ5vatekDV9