摘要: python支持对象和函数 1. python是解释型语言,逐行运行 2. 对象调用 例子:删除文件的一个例子 2.1 先定义一个类 class MyApp: 2.2 import 引用要用到的模块 __author__ = 'Bright' import shutil import os """ * 对象操作实战 * 上演出多个文件 """ class MyApp: ... 阅读全文
posted @ 2014-10-22 23:49 芥子茉 阅读(1244) 评论(0) 推荐(0) 编辑