Subcategories

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

Posted By: ParRus
Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)
WEBRip | English | MP4 + Project Files | 1280 x 720 | AVC ~463 Kbps | 30 fps
AAC | 128 Kbps | 44.1 KHz | 2 channels | ~34.5 hours | 18.9 GB
Genre: Video Tutorial / Programming

Sequences, Iterables, Iterators, Generators, Context Managers and Generator-based Coroutines
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

Description
Part 2 of this Python 3: Deep Dive series is an in-depth look at:

sequences
iterables
iterators
generators
comprehensions
context managers
generator based coroutines

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.

Finally, we'll look at how we can use generators to create coroutines.

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.

also You can find my other useful: programming-posts

General
Complete name : 3. Aggregators - Coding.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 114 MiB
Duration : 26 min 28 s
Overall bit rate : 600 kb/s
Writing application : Lavf57.71.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Format settings, GOP : M=4, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 26 min 28 s
Bit rate : 463 kb/s
Nominal bit rate : 3 000 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.017
Stream size : 87.7 MiB (77%)
Writing library : x264 core 148
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x1:0x111 / me=umh / subme=6 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=60 / keyint_min=6 / scenecut=0 / intra_refresh=0 / rc_lookahead=60 / rc=cbr / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=3000 / vbv_bufsize=6000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 26 min 28 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 24.2 MiB (21%)
Language : English
Default : Yes
Alternate group : 1

Screenshots

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

Udemy - Python 3: Deep 			  		  		  	 			   		  	   		  		  		   	  	 			   		  	   		  	   		      	 			   		  	   		  	   		 	 				 Dive (Part 2 - Iteration, Generators)

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)

✅ Exclusive eLearning Videos ParRus-blogadd to bookmarks

Feel free to contact me PM
when links are dead or want any repost

Udemy - Python 3: Deep Dive (Part 2 - Iteration, Generators)