Packt

Intermediate Python: Modules, OOP & App Development

在這個單身日致力於職業發展。 享受全年的 Coursera Plus,享受 40% 的折扣。

Packt

Intermediate Python: Modules, OOP & App Development

本课程是 Learn to Code with Python 专项课程 的一部分

包含在 Coursera Plus了解更多 中

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Install and configure Python on macOS and Windows

  • Build real-world applications like a Texas Hold'em Poker game

  • Implement object-oriented programming using classes and inheritance

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

August 2026

作业

13 项作业

授课语言:英语(English)

积累特定领域的专业知识

本课程是 Learn to Code with Python 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有12个模块

This module covers the fundamentals of Python modules and packages, including how to import and organize code, use the import keyword, and manage namespaces effectively. Learners will gain hands-on knowledge of Python's standard libraries and best practices for modular programming.

涵盖的内容

8个视频1篇阅读材料1个作业

This module teaches learners how to read from and write to files in Python, covering essential techniques like file opening, reading line by line, writing with different modes, and appending data. It also includes best practices for managing file operations effectively.

涵盖的内容

4个视频1个作业

This module explores advanced Python concepts including higher-order functions, nested functions, variable scope, and decorators. Learners will gain a deep understanding of how to manipulate functions, manage variable lifecycles, and dynamically extend function behavior using decorators. The content includes practical examples and coding exercises to reinforce key principles.

涵盖的内容

16个视频1个作业

This module introduces the fundamental concepts of object-oriented programming in Python, focusing on how to define and use classes, create objects, and manage attributes and methods. Learners will gain hands-on experience with class instantiation, the __init__ method, and setting default attribute values. By the end, students will be able to structure their code using OOP principles effectively.

涵盖的内容

9个视频1个作业

This module explores advanced concepts in object-oriented programming in Python, including instance methods, class methods, static methods, encapsulation, and attribute management. Learners will gain hands-on experience with defining and using properties, understanding attribute lookup order, and dynamically managing object attributes. The module emphasizes practical implementation through coding exercises and solutions.

涵盖的内容

14个视频1个作业

This module explores Python's magic methods, teaching learners how to customize object behavior for operations like equality, string representation, and iteration. It covers practical implementation of methods such as __str__, __eq__, __len__, and __getitem__, and includes coding exercises to reinforce understanding. Learners will also gain insights into docstrings and the namedtuple object for better code documentation and structure.

涵盖的内容

15个视频1个作业

This module explores the fundamentals of inheritance in Python, including subclassing, method overriding, and the use of the super() function. It also covers advanced topics like polymorphism, multiple inheritance, and composition as alternatives to inheritance. Learners will gain practical skills in designing and implementing object-oriented code structures.

涵盖的内容

17个视频1个作业

This module provides a comprehensive guide to handling errors in Python through exception handling techniques. Learners will explore how to use try-except blocks, raise exceptions, and create custom error classes. The module also covers best practices for structured error management using else and finally blocks.

涵盖的内容

7个视频1个作业

This module covers the fundamentals of working with dates and time in Python, including creating, manipulating, and formatting date, time, and datetime objects. Learners will gain hands-on experience with the datetime module and learn to perform time-based calculations and comparisons.

涵盖的内容

7个视频1个作业

This module covers the essential functions in Python's random module, such as generating random numbers, selecting elements from sequences, and shuffling lists. Learners will understand how to implement randomness effectively in their code and recognize the proper use cases for each function.

涵盖的内容

3个视频1个作业

This module introduces learners to the fundamentals of unit testing in Python, covering essential tools like the assert statement, doctest, and unittest modules. It explores how to write and organize tests, handle errors, and ensure code reliability through various assertion methods and test lifecycle functions.

涵盖的内容

16个视频1个作业

This module teaches how to use Python's unittest.mock module to create and manage mock objects, enabling effective unit testing by simulating external dependencies. Learners will explore attributes like return_value and side_effect, as well as tools like patch() and @patch decorator to isolate code components during testing. By the end, students will be able to build reliable and maintainable test cases using advanced mocking techniques.

涵盖的内容

11个视频1篇阅读材料2个作业

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
2,690 门课程784,275 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

是什么让您今天来到 Coursera?

常见问题

⌂ 换网址