Classbaze

Disclosure: when you buy through links on our site, we may earn an affiliate commission.

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

Sequences, Iterables, Iterators, Generators, Context Managers and Generator-based Coroutines
4.9
4.9/5
(1,780 reviews)
24,134 students
Created by

9.9

Classbaze Grade®

10.0

Freshness

9.2

Popularity

9.8

Material

Sequences
Platform: Udemy
Video: 36h 9m
Language: English
Next start: On Demand

Best Python classes:

Classbaze Rating

Classbaze Grade®

9.9 / 10

CourseMarks Score® helps students to find the best classes. We aggregate 18 factors, including freshness, student feedback and content diversity.

Freshness

10.0 / 10
This course was last updated on 4/2022.

Course content can become outdated quite quickly. After analysing 71,530 courses, we found that the highest rated courses are updated every year. If a course has not been updated for more than 2 years, you should carefully evaluate the course before enrolling.

Popularity

9.2 / 10
We analyzed factors such as the rating (4.9/5) and the ratio between the number of reviews and the number of students, which is a great signal of student commitment.

New courses are hard to evaluate because there are no or just a few student ratings, but Student Feedback Score helps you find great courses even with fewer reviews.

Material

9.8 / 10
Video Score: 10.0 / 10
The course includes 36h 9m video content. Courses with more videos usually have a higher average rating. We have found that the sweet spot is 16 hours of video, which is long enough to teach a topic comprehensively, but not overwhelming. Courses over 16 hours of video gets the maximum score.
The average video length is 7 hours 31 minutes of 1,582 Python courses on Udemy.
Detail Score: 10.0 / 10

The top online course contains a detailed description of the course, what you will learn and also a detailed description about the instructor.

Extra Content Score: 9.5 / 10

Tests, exercises, articles and other resources help students to better understand and deepen their understanding of the topic.

This course contains:

0 article.
141 resources.
0 exercise.
0 test.

In this page

About the course

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)

What can you learn from this course?

✓ 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

What you need to start the course?

• This is a relatively advanced course, so you should already be familiar with basic Python concepts, as well as some in-depth knowledge as described in the prerequisites in the course description. Please be sure you check those and make sure!
• You will need Python 3.6 or above, and a development environment of your choice (command line, PyCharm, Jupyter, etc.)

Who is this course is made for?

• Python developers who want a deeper understanding of sequences, iterables, iterators, generators and context managers.

Are there coupons or discounts for Python 3: Deep Dive (Part 2 - Iteration, Generators) ? What is the current price?

The course costs $19.99. And currently there is a 84% discount on the original price of the course, which was $124.99. So you save $105 if you enroll the course now.
The average price is $20.1 of 1,582 Python courses. So this course is 1% cheaper than the average Python course on Udemy.

Will I be refunded if I'm not satisfied with the Python 3: Deep Dive (Part 2 - Iteration, Generators) course?

YES, Python 3: Deep Dive (Part 2 – Iteration, Generators) has a 30-day money back guarantee. The 30-day refund policy is designed to allow students to study without risk.

Are there any financial aid for this course?

Currently we could not find a scholarship for the Python 3: Deep Dive (Part 2 - Iteration, Generators) course, but there is a $105 discount from the original price ($124.99). So the current price is just $19.99.

Who will teach this course? Can I trust Fred Baptiste?

Fred Baptiste has created 4 courses that got 12,611 reviews which are generally positive. Fred Baptiste has taught 44,435 students and received a 4.8 average review out of 12,611 reviews. Depending on the information available, we think that Fred Baptiste is an instructor that you can trust.
Professional Developer and Mathematician
Hi,
My name is Fred Baptiste.
I started my career with a PhD in mathematics and have been programming professionally for over 25 years in a variety of technologies and languages, including Python, .Net (C# and VB), Java, C++, and JavaScript to name a few, and databases including relational SQL databases such as MS SQL Server and Postgres as well as No-SQL databases such as MongoDB, Couchbase and Neo4j.
Since 2011 I have been focused on Python almost exclusively, mainly in REST API development and data management and analysis.
I have spent a lot of time and effort learning and gaining an in-depth understanding of Python and writing idiomatic Python, and I’d like to share that with you.
I’m definitely a Python enthusiast for many reasons, and I’d like to share that passion with you too!
Browse all courses by on Classbaze.

9.9

Classbaze Grade®

10.0

Freshness

9.2

Popularity

9.8

Material

Platform: Udemy
Video: 36h 9m
Language: English
Next start: On Demand

Classbaze recommendations for you