摘要: 一、Microsoft Excel 1 Microsoft ACE OLEDB 12.0 1.1 Xlsx files(2013) Connect to Excel 2007 (and later) files with the Xlsx file extension. That is the Of 阅读全文
posted @ 2017-04-29 11:21 小Y看世界 阅读(646) 评论(0) 推荐(0) 编辑
摘要: Shell.Application表示外壳中的对象。方法被提供于控制外壳和执行外壳内的命令,也有一些方法获得其他外壳相关的对象。 一、方法和属性: 方法 说明 AddToRecent 添加一个对象到“最近的文档”的列表。 BrowseForFolder 创建一个对话框让用户选择一个文件夹,然后返回所 阅读全文
posted @ 2017-04-18 12:53 小Y看世界 阅读(3336) 评论(0) 推荐(0) 编辑
摘要: 一、使用API方法 二、Shell.Application方法 三、使用FileDialog方法 阅读全文
posted @ 2017-04-18 12:49 小Y看世界 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 操作步骤:打开Visual Basic编辑器,单击“插入-->模块“,将以下代码粘贴到模块中即可。 阅读全文
posted @ 2017-04-17 13:23 小Y看世界 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 从PyPI中安装包 从PyPI或其他地方安装下载的包 显示已安装的文件: 列出已过时的包信息: 更新包: 卸载包: 阅读全文
posted @ 2017-02-19 12:26 小Y看世界 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 正则表达式的先行断言和后行断言一共有4种形式:(?=pattern) 零宽正向先行断言(zero-width positive lookahead assertion)(?!pattern) 零宽负向先行断言(zero-width negative lookahead assertion)(?<=p 阅读全文
posted @ 2016-12-18 11:57 小Y看世界 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 一、Object与Type 1、摘自Python Documentation 3.5.2的解释 Objects are Python’s abstraction for data. All data in a Python program is represented by objects or b 阅读全文
posted @ 2016-12-17 12:05 小Y看世界 阅读(11674) 评论(0) 推荐(1) 编辑
摘要: 1、来自python官网的解释: super([type[, object-or-type]]) Return a proxy object that delegates method calls to a parent or sibling class of type. This is usefu 阅读全文
posted @ 2016-12-04 06:10 小Y看世界 阅读(328) 评论(0) 推荐(0) 编辑
摘要: super() 的入门使用 在类的继承中,如果重定义某个方法,该方法会覆盖父类的同名方法,但有时,我们希望能同时实现父类的功能,这时,我们就需要调用父类的方法了,可通过使用 super 来实现,比如: 在上面,Animal 是父类,Dog 是子类,我们在 Dog 类重定义了 greet 方法,为了能 阅读全文
posted @ 2016-12-04 05:42 小Y看世界 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Shallow copy and Deep copy 第一部分: 一、来自wikipidia的解释: Shallow copy One method of copying an object is the shallow copy. In that case a new object B is cr 阅读全文
posted @ 2016-11-20 04:25 小Y看世界 阅读(368) 评论(0) 推荐(0) 编辑