网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  Python入门.错误处理

Python入门.错误处理

分类: IT文章 • 2024-10-24 18:19:36
Python入门.异常处理
try:
    a=1/0  #除数不能是零
    print a
except:
    print 'Arithmetic exception'

相关推荐

  • 动态解析冒泡排序—Python
  • python单元测试
  • 一张图认识Python(附基本语法总结)
  • python多线程多进程
  • python数据库备份
  • 【转载】Thrift入门及Java实例演示 概述 下载配置 实例演示 设计思路 http://www.jianshu.com/p/10b7cf0a384e
  • Python-自动化测试面试
  • python中的继承、多继承、超继承
  • Cannot set up a python SDK Python3.7. The SDK seems inval...  
  • 【Python第31课到42课】
  • Android AnimationDrawable卡通实例
  • ostream_iterator >(cout,"") 不能输出 出错解决思路
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号