Generators in Python

所在平台: Udemy

课程主页: https://www.udemy.com/course/generators-in-python/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Python中的生成器 课程概述: 本课程深入探讨计算机编程中的一个较难主题——生成器。课程通过逐步讲解、代码示例和详细说明,帮助学员深入理解该主题,不仅限于Python,还适用于其他编程语言。课程包含的编码练习将帮助您评估自己的理解水平。除了生成器,本课程还涵盖生成器表达式的内容。 课程从生成器类的基本概念出发,介绍了如何使用yield语句获取该类对象的简单方法。接着,课程详细解释了使用yield语句时编译器引入的间接代码变化,以及迭代生成器对象时所发生的情况。随后,课程将介绍如何创建生成器表达式,并解释生成器表达式与列表推导式之间的主要区别。最后,课程以常见情况下优先选择生成器的简要概述作为结尾。 本课程与我们的其他课程一样会随时间发展而不断更新。我们将为您提供全面支持,并在需要时提供额外的视频片段和幻灯片。如果您需要更多的编码练习,请随时告诉我们,并具体说明需要额外练习的子主题。我们也欢迎您提出希望我们在课程中加入的其他子主题,我们将尽力满足您的请求。

课程评论(0条)

课程详情

This course covers one of the more difficult topics in computer programming. Explaining it step by step throughout the course, using code samples and detailed explanation will provide you with the desired in-depth understanding of this topic, not only in Python but in other programming languages as well. The coding exercises this course includes will allow you to assess the level of understanding you achieve. In addition to generators, this course also covers the generator expression topic. The course starts with a general for the generator class and for the common simple way for getting an object of that type by using the yield statement. The continue with a more detailed explanation for the indirect code changes the compiler introduces when using the yield statement, and for what happens when iterating a generator object. The course continues with explaining how to create a generator expression and explains the main difference between a generator expression and a list comprehension. The course concludes with a short overview of the common cases in which we will probably prefer the use of generators. This course, like all of our other courses, evolves over time. Taking this course, we will provide you full support, and provide you with additional video clips and slides whenever needed. Please don't hesitate and let us know if you feed that additional coding exercises will assist, and we will create more of them. Please try to specify the exact sub-topics in which the additional practice is needed. Please don't hesitate and let us know of any additional sub-topic you would like us to add to this course. We will do our best to fulfill your request.

课程标签

0人关注该课程

主题相关的课程