In this 1-hour long project-based course, you will learn the differences between an exception and syntax errors, how to raise an exception, what an AssertionError exception is within Python, how to use the try, except and else clause and how to use the finally clause and any clean-up actions.
抓住节省的机会!购买 Coursera Plus 3 个月课程可享受40% 的折扣,并可完全访问数千门课程。

您将学到什么
Demonstrate an understanding of exceptions versus errors.
Develop examples of specific exception handling techniques in Python.
您将使用的工具
要了解的详细信息

添加到您的领英档案
仅桌面可用
了解顶级公司的员工如何掌握热门技能

在 2 小时内学习、练习并应用岗位必备技能
- 接受行业专家的培训
- 获得解决实训工作任务的实践经验
- 使用最新的工具和技术来建立信心

关于此指导项目
分步进行学习
在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:
-
Demonstrate an understanding of the differences between syntax errors and exceptions.
-
Raise an exception through coded examples.
-
Create a programme outlining an AssertionError exception.
-
Create a programme using the try, except and else clause.
-
Create a programme to utilise the finally clause and clean-up actions.
推荐体验
Basic knowledge of python programming
3个项目图片
位教师

提供方
学习方式
基于技能的实践学习
通过完成与工作相关的任务来练习新技能。
专家指导
使用独特的并排界面,按照预先录制的专家视频操作。
无需下载或安装
在预配置的云工作空间中访问所需的工具和资源。
仅在台式计算机上可用
此指导项目专为具有可靠互联网连接的笔记本电脑或台式计算机而设计,而不是移动设备。
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
您可能还喜欢
状态:免费试用Logical Operations
状态:免费试用Logical Operations
状态:免费试用Logical Operations
状态:免费试用



