上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
  2019年5月20日
摘要: 阅读目录 ##封装 ##封装属性 ##封装方法 ##封装原理 ##property装饰器 ##property的另一种使用场景:计算属性 ##封装能不能被继承问题 ##多态 # 如果没有多态 需要分别学习 person cat pig 的不同使用方法 这对于使用者而言太麻烦了# # 一个用来管理动物 阅读全文
posted @ 2019-05-20 17:31 Icon-Liang 阅读(186) 评论(0) 推荐(0) 编辑
  2019年5月17日
摘要: 阅读目录 内容回顾 继承的另一种使用方式 多继承 组合 菱形继承问题(经典类和新式类路线不一样) 接口 抽象类 鸭子类型 ##内容回顾 ##继承的另一种使用方式 ##多继承 ##组合 ##菱形继承问题(经典类和新式类路线不一样) ##多菱形示例 ##接口 class IOInterface:#定义接 阅读全文
posted @ 2019-05-17 15:47 Icon-Liang 阅读(243) 评论(0) 推荐(0) 编辑
  2019年5月16日
摘要: 阅读目录 内容回顾 类属性与对象属性 初始化方法init 绑定方法 对象之间交互练习 OOP三大特性之继承 抽象与继承 一切皆为对象 存在继承关系后的属性查找 派生与覆盖 子类中重用父类的方法 ##内容回顾 ##类属性与对象属性 ##初始化方法init ##绑定方法 #对象之间交互练习 ##OOP三 阅读全文
posted @ 2019-05-16 20:31 Icon-Liang 阅读(260) 评论(0) 推荐(0) 编辑
  2019年5月15日
摘要: 阅读目录: xml模块 面向对象 ##xml模块 ##面向对象 ##类和对象的名称空间是独立的 阅读全文
posted @ 2019-05-15 19:45 Icon-Liang 阅读(214) 评论(0) 推荐(0) 编辑
  2019年5月14日
摘要: 阅读目录 configparser模块 subprocess模块 xlrd模块 xlwt模块 ##configparser模块 ##subprocess # 案例:# tasklist | findstr python # 先执行tasklist 把结果交给 findstr 来处理 p1 = sub 阅读全文
posted @ 2019-05-14 15:25 Icon-Liang 阅读(218) 评论(0) 推荐(0) 编辑
  2019年5月13日
摘要: 英文:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the s... 阅读全文
posted @ 2019-05-13 21:01 Icon-Liang 阅读(111) 评论(0) 推荐(0) 编辑
  2019年5月11日
摘要: 二、一个项目是如何从无到有的? 三、需求分析 四、设计程序以及程序架构 五、程序目录设计 六、项目详解 阅读全文
posted @ 2019-05-11 20:16 Icon-Liang 阅读(344) 评论(0) 推荐(0) 编辑
  2019年5月9日
摘要: 阅读目录 内容回顾 标准三流 logging模块 re模块 ##内容回顾 ##标准三流 ##logging模块 ##logging四大成员 ##一条日志完整的生命周期 ##多个输出者 ##通过字典配置日志文件的使用(重点会用) ##1 单一文件模式(不建议) ##2、一个项目形式(常用) ##配置文 阅读全文
posted @ 2019-05-09 20:55 Icon-Liang 阅读(166) 评论(0) 推荐(0) 编辑
  2019年5月8日
摘要: 阅读目录 random模块 json和pickle模块 hashlib模块 hmac模块 shutil模块 shelve模块 ##random模块 ##json和pickle模块 # json语言,就是一种有语法规范的字符串,用来存放数据的,完成各种语言之间的数据交互# 1.就是{}与[]的组合,{ 阅读全文
posted @ 2019-05-08 19:07 Icon-Liang 阅读(151) 评论(0) 推荐(0) 编辑
  2019年5月7日
摘要: 阅读目录 时间模块(time、datetime) 日历模块(calendar) sys模块 os模块 os.path模块 ##时间模块 ##日历模块(calendar) ##sys模块 ##os.path 模块 normcase函数在Linux和Mac平台上,该函数会原样返回path,在window 阅读全文
posted @ 2019-05-07 20:59 Icon-Liang 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页