wizardforcel
Python 核心编程 第二版

Updated 3 years ago

帅老三 (@shuailaosan) started discussion #8

3 years ago · 0 comments

Open

编译时会检查语法错误,不过Python也允许在程序运行时检测错误。当检测到一个错误,Python解释器就引发一个异常,并显示异常的详细信息。程序员可以根据这些信息迅速定位问题并进行调试,并找出处理错误的办法。

第2章 快速入门 (Edit this file)

try...except函数处理错误和异常

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant