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

6,308.00

What you’ll learnYou’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 protocolIterables and the iterable protocolIterators and the iterator protocolList comprehensions and their relation to closuresGenerator functionsGenerator expressionsContext managersCreating context managers using generator functionsUsing Generators as CoroutinesCourse contentExpand all 137 lectures34:40:22+Introduction+Sequence Types+Project 1+Iterables and Iterators+Project 2+Generators+Project 3+Iteration Tools+Project 4+Context ManagersRequirementsThis 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.)Part 2 of this Python 3: Deep Dive series is an in-depth look at:sequencesiterablesiteratorsgeneratorscomprehensionscontext managersgenerator based coroutinesI 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).Get Python 3: Deep Dive (Part 2 – Iteration, Generators) – Fred Baptiste, Only Price $42Context 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 argumentspacking and unpacking iterables and how that is used with function arguments (i.e. using *)closuresdecoratorsBoolean truth values and how any object has an associated truth valuenamed tuplesthe zip, map, filter, sorted, reduce functionslambdasimporting modules and packagesYou 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 clauseif statementstry…except…else…finally…basic knowledge of how to create and use classes (methods, properties) – no need for advanced topics such as inheritance or meta classesunderstand 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.+ See moreFeatured reviewTibor Kircsi ( 53 courses, 21 reviews )a year agoI started this course after I finished the Par 1. This course has the same high quality as the Part 1. I recommend it everyone who wants to know the details behind the scenes. This is a fantastic course! Absolutely recommended for everyone, who wants to learn Python.Get Python 3: Deep Dive (Part 2 – Iteration, Generators) – Fred Baptiste, Only Price $42Tag: Python 3: Deep Dive (Part 2 – Iteration, Generators) – Fred Baptiste Review. Python 3: Deep Dive (Part 2 – Iteration, Generators) – Fred Baptiste download. Python 3: Deep Dive (Part 2 – Iteration, Generators) – Fred Baptiste discount.