摘要: ==模块== python语言的组织结构层次: 包 模块 代码文件 类 函数 代码块 什么是模块呢 可以把模块理解为一个代码文件的封装,这是比类更高一级的封装层次 一个写好的模块可以导入给其他python文件来用,在其他语言中,这种通常被称为库 比如C语言的库函数之类的 C语言中这样引用 inclu 阅读全文
posted @ 2018-03-01 16:24 aaa1111sss 阅读(180) 评论(0) 推荐(0) 编辑
摘要: ![](https://images2018.cnblogs.com/blog/1212342/201803/1212342-20180301161747390-2133660397.png) ![](https://images2018.cnblogs.com/blog/1212342/201803/1212342-20180301161804012-1418879951.png) ![](... 阅读全文
posted @ 2018-03-01 16:19 aaa1111sss 阅读(100) 评论(0) 推荐(0) 编辑