上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 阅读全文
posted @ 2018-09-04 19:51 sunzebo 阅读(6781) 评论(0) 推荐(0) 编辑
摘要: Python基本语法_强制数据类型转换 目录 目录 前言 软件环境 Python数据类型的显式转换 显式转换的多种类型 Non-String转换为String str函数 repr str和repr的区别 eval Non-int转换为int Long转换为Int使用自定义函数 Float转换为In 阅读全文
posted @ 2018-09-02 17:14 sunzebo 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <!--done--> Python中获取异常(Exception)信息 异常信息的获取对于程序的调试非常重要,可以有助于快速定位有错误程序语句的位置。下面介绍几种python中获取异常信息的方法,这里获取异常(Exception)信息采用try...except...程序结构。如下所示 <!--d 阅读全文
posted @ 2018-09-02 13:33 sunzebo 阅读(2688) 评论(0) 推荐(0) 编辑
摘要: 出处 阅读全文
posted @ 2018-09-02 00:50 sunzebo 阅读(131) 评论(0) 推荐(0) 编辑
摘要: test_module2.py: test_module.py: 阅读全文
posted @ 2018-09-02 00:04 sunzebo 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Case 1 啥都没做 Case2 阅读全文
posted @ 2018-08-31 08:17 sunzebo 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-31 07:59 sunzebo 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-31 07:43 sunzebo 阅读(3570) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-31 07:34 sunzebo 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 结论: 代码: ref1.py test1.py 输出: 后续 : 验证 xxx 是否可以 函数、方法 推测: 阅读全文
posted @ 2018-08-29 23:33 sunzebo 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页