What You’ll Uncover in Python 3 Deep Dive (Half 2 Iteration, Turbines)
We’ll take a deep dive into the itertools module and have a look at all of the capabilities accessible there and the way helpful (however missed!) they are often…. File Measurement: 18.99 GB
Python 3: Deep Dive (Half 2 – Iteration, Turbines)
What you will be taught
   You’ll leverage the ideas on this course to take your Python programming abilities to the following degree.
Sequence Sorts and the sequence protocol
Iterables and the iterable protocol
Iterators and the iterator protocol
Record comprehensions and their relation to closures
Generator capabilities
Generator expressions
Context managers
Creating context managers utilizing generator capabilities
Utilizing Turbines as Coroutines
Get instantly obtain Python 3: Deep Dive (Half 2 – Iteration, Turbines)
Course content material
Increase all 137 lectures34:40:22
–Introduction
15:37
Course Overview
Preview
06:30
Pre-Requisites
Preview
06:04
Python Instruments Wanted
Preview
03:03
–Sequence Sorts
07:55:14
Introduction
Preview
01:23
Sequence Sorts – Lecture
Preview
17:10
Sequence Sorts – Coding
Preview
27:23
Mutable Sequence Sorts – Lecture
07:18
Mutable Sequence Sorts – Coding
18:06
Lists vs Tuples
21:50
Index Base and Slice Bounds – Rationale
15:14
Copying Sequences – Lecture
29:25
Copying Sequences – Coding
23:28
Slicing – Lecture
32:08
Slicing – Coding
14:42
Customized Sequences – Half 1 – Lecture
10:40
Customized Sequences – Half 1 – Coding
34:00
In-Place Concatenation and Repetition – Lecture
05:34
In-Place Concatenation and Repetition – Coding
07:27
Assignments in Mutable Sequences – Lecture
07:03
Assignments in Mutable Sequences – Coding
10:19
Customized Sequences – Half 2 – Lecture
09:17
Customized Sequences – Half 2A – Coding
17:54
Customized Sequences – Half 2B – Coding
34:49
Customized Sequences – Half 2C – Coding
21:10
Sorting Sequences – Lecture
17:52
Sorting Sequences – Coding
25:52
Record Comprehensions – Lecture
17:54
Record Comprehensions – Coding
47:16
–Challenge 1
01:00:16
Challenge Description
Preview
07:32
Challenge Resolution: Aim 1
40:31
Challenge Resolution: Aim 2
12:13
–Iterables and Iterators
04:51:39
Introduction
Preview
02:53
Iterating Collections – Lecture
11:19
Iterating Collections – Coding
20:18
Iterators – Lecture
06:21
Iterators – Coding
11:44
Iterators and Iterables – Lecture
11:22
Iterators and Iterables – Coding
28:03
Instance 1 – Consuming Iterators Manually
26:31
Instance 2 – Cyclic Iterators
31:33
Lazy Iterables – Lecture
03:44
Lazy Iterables – Coding
14:59
Python’s Constructed-In Iterables and Iterators – Lecture
02:24
Python’s Constructed-In Iterables and Iterators – Coding
14:21
Sorting Iterables
08:51
The iter() Perform – Lecture
06:26
The iter() Perform – Coding
13:59
Iterating Callables – Lecture
04:42
Iterating Callables – Coding
15:53
Instance 3 – Delegating Iterators
07:41
Reversed Iteration – Lecture
09:49
Reversed Iteration – Coding
20:00
Caveat: Utilizing Iterators as Perform Arguments
18:46
–Challenge 2
17:01
Challenge Description
Preview
03:29
Challenge Resolution: Aim 1
05:50
Challenge Resolution: Aim 2
07:42
–Turbines
02:11:27
Introduction
Preview
01:21
Yielding and Generator Features – Lecture
17:38
Yielding and Generator Features – Coding
17:33
Instance – Fibonacci Sequence
15:31
Making an Iterable from a Generator – Lecture
06:59
Making an Iterable from a Generator – Coding
06:40
Instance – Card Deck
11:04
Generator Expressions and Efficiency – Lecture
09:17
Generator Expressions and Efficiency – Coding
30:19
Yield From – Lecture
02:36
Yield From – Coding
12:29
–Challenge 3
01:01:58
Challenge Description
Preview
04:15
Challenge Resolution: Aim 1
41:46
Challenge Resolution: Aim 2
15:57
–Iteration Instruments
04:25:49
Introduction
Preview
04:22
Aggregators – Lecture
10:05
Aggregators – Coding
26:28
Slicing – Lecture
03:18
Slicing – Coding
11:33
Deciding on and Filtering – Lecture
10:02
Deciding on and Filtering – Coding
15:07
Infinite Iterators – Lecture
05:29
Infinite Iterators – Coding
18:49
Chaining and Teeing – Lecture
08:40
Chaining and Teeing – Coding
18:51
Mapping and Decreasing – Lecture
15:54
Mapping and Decreasing – Coding
18:16
Zipping – Lecture
03:15
Zipping – Coding
06:54
Grouping – Lecture
10:00
Grouping – Coding
27:01
Combinatorics – Lecture
09:30
Combinatorics – Coding (Product)
21:26
Combinatorics – Coding (Permutation, Mixture)
20:49
–Challenge 4
02:32:14
Challenge – Description
Preview
11:49
Challenge Resolution: Aim 1
43:50
Challenge Resolution: Aim 2
38:41
Challenge Resolution: Aim 3
07:17
Challenge Resolution: Aim 4
50:37
–Context Managers
03:34:00
Introduction
Preview
08:02
Context Managers – Lecture
22:46
Context Managers – Coding
37:10
Caveat when used with Lazy Iterators
03:49
Not only a Context Supervisor
07:33
Extra Makes use of – Lecture
06:04
Extra Makes use of – Coding
36:03
Turbines and Context Managers – Lecture
10:46
Turbines and Context Managers – Coding
13:12
The contextmanager Decorator – Lecture
09:41
The contextmanager Decorator – Coding
24:26
Nested Context Managers
34:28
3 extra sections
Necessities
It is a comparatively superior course, so you need to already be aware of fundamental Python ideas, in addition to some in-depth information as described within the conditions within the course description. Please ensure you examine these and ensure!
You have to Python 3.6 or above, and a growth surroundings of your alternative (command line, PyCharm, Jupyter, and many others.)
Get instantly obtain Python 3: Deep Dive (Half 2 – Iteration, Turbines)
Description
Half 2 of this Python 3: Deep Dive sequence is an in-depth have a look at:
sequences
iterables
iterators
mills
comprehensions
context managers
generator primarily based coroutines
I’ll present you precisely how iteration works in Python – from the sequence protocol, to the iterable and iterator protocols, and the way we will write our personal sequence and iterable information sorts.
We’ll go into some element to clarify sequence slicing and the way slicing pertains to ranges.
We have a look at comprehensions intimately as properly and I’ll present you the way checklist comprehensions are literally closures and have their very own scope, and the rationale why delicate bugs typically creep in to checklist comprehensions that we’d not count on.
We’ll take a deep dive into the itertools module and have a look at all of the capabilities accessible there and the way helpful (however missed!) they are often.
We additionally have a look at generator capabilities, their relation to iterators, and their comprehension counterparts (generator expressions).
Context managers, an typically missed assemble in Python, is roofed intimately too. There we’ll learn to create and leverage our personal context managers and perceive the connection between context managers and generator capabilities.
Lastly, we’ll have a look at how we will use mills to create coroutines.
Every part is adopted by a mission designed to place into follow what you be taught all through the course.
This course sequence is concentrated on the Python language and the usual library. There is a gigantic quantity of performance and issues to grasp in simply the usual CPython distribution, so I don’t cowl third social gathering libraries – it is a Python deep dive, not an exploration of the numerous extremely helpful third social gathering libraries which have grown round Python – these are sometimes sufficiently massive to warrant a whole course unto themselves! Certainly, a lot of them already do!
***** Stipulations *****
Please observe that it is a comparatively superior Python course, and a powerful information of some subjects in Python is required.
Specifically you need to have already got an in-depth understanding of the next subjects:
capabilities and performance arguments
packing and unpacking iterables and the way that’s used with operate arguments (i.e. utilizing *)
closures
decorators
Boolean fact values and the way any object has an related fact worth
named tuples
the zip, map, filter, sorted, cut back capabilities
lambdas
importing modules and packages
You must also have a fundamental information of the next subjects:
varied information sorts (numeric, string, lists, tuples, dictionaries, units, and many others)
for loops, whereas loops, break, proceed, the else clause
if statements
strive…besides…else…lastly…
fundamental information of find out how to create and use lessons (strategies, properties) – no want for superior subjects akin to inheritance or meta lessons
perceive how sure particular strategies are utilized in lessons (akin to __init__, __eq__, __lt__, and many others)
Who this course is for:
Python builders who desire a deeper understanding of sequences, iterables, iterators, mills and context managers.
IMPORTANT: This whole “Python 3: Deep Dive (Part 2 – Iteration, Generators)” is totally downloadable and accessible in your account
(In case of a damaged hyperlink, we’ll renew your hyperlink shortly).
Your persistence is appreciated.