异常处理 目录 安装 Linux Windows macOS Hello World! 基本类型 容器类型 控制流 函数 面向对象编程 面向接口编程 模块和包 异常处理 Python中的异常使用用法如下: try: open("xxxxxxxxx") except FileNotFoundError as e: print(e) 上一篇:模块和包 下一篇:I/O处理