会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DraugSolo
博客园
首页
新随笔
联系
订阅
管理
2015年5月24日
platform 模块
摘要: 1 import platform 2 3 profile = [ 4 platform.architecture(), 5 platform.dist(), 6 platform.libc_ver(), 7 platform.mac_ver(), 8 p...
阅读全文
posted @ 2015-05-24 10:12 DraugSolo
阅读(186)
评论(0)
推荐(0)
2015年5月23日
不在为模块包烦恼
摘要: pythonxy 集成了常用的模块文件。在百度网盘上下了个2.7.6,试用中。。// 明天继续补
阅读全文
posted @ 2015-05-23 20:14 DraugSolo
阅读(143)
评论(0)
推荐(0)
2015年5月19日
python subprocess模块
摘要: 转http://blog.csdn.net/imzoer/article/details/8678029subprocess的目的就是启动一个新的进程并且与之通信。subprocess模块中只定义了一个类: Popen。可以使用Popen来创建进程,并与进程进行复杂的交互。它的构造函数如下:subp...
阅读全文
posted @ 2015-05-19 22:19 DraugSolo
阅读(274)
评论(0)
推荐(0)
2015年5月17日
转 《python开发_常用的python模块及安装方法》
摘要: http://www.cnblogs.com/hongten/p/hongten_python_more_modules.htmladodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheetahcherrypy:一个WEB...
阅读全文
posted @ 2015-05-17 19:53 DraugSolo
阅读(225)
评论(0)
推荐(0)
转 《pywinauto进行win32应用程序的测试》
摘要: http://www.cnblogs.com/gannan/archive/2013/01/08/2851825.html今天整理自己的博客,发现已经快一年没有更新了,汗。今天给大家介绍的是pywinauto,它是用python语言编写的开源测试工具,专用于测试win32应用,其官网网址是:http...
阅读全文
posted @ 2015-05-17 19:49 DraugSolo
阅读(475)
评论(0)
推荐(0)
2015年5月16日
pywinauto 框架 Notepad
摘要: pywinauto win 自动化测试框架 1 # -*- coding: gb2312 -*- 2 __author__ = 'Zechary' 3 4 import time 5 from pywinauto import application 6 app = application.App...
阅读全文
posted @ 2015-05-16 20:32 DraugSolo
阅读(554)
评论(0)
推荐(0)
文件压缩与解析
摘要: 1 __author__ = 'Zechary' 2 3 import os, os.path 4 import zipfile 5 6 def zip_dir(dirname, zipname): 7 filelist = [] 8 if os.path.isfile(dir...
阅读全文
posted @ 2015-05-16 10:16 DraugSolo
阅读(184)
评论(0)
推荐(0)
2015年5月15日
rfc822 邮件模块
摘要: rfc822模块包括了一个邮件和新闻组的解析器 (也可用于其它符合 RFC 822 标准的消息, 比如 HTTP 头).通常, RFC 822 格式的消息包含一些标头字段, 后面至少有一个空行, 然后是信息主体.邮件数据内容:1 Message-Id: 2 Date: Tue, 14 Nov 200...
阅读全文
posted @ 2015-05-15 20:28 DraugSolo
阅读(502)
评论(0)
推荐(0)
xmllib 模块
摘要: xmlib模块提供了一个简单的 XML 语法分析器。 1 __author__ = 'Zechary' 2 3 import xmllib 4 class Parse(xmllib.XMLParser): 5 def __init__(self, file=None): 6 ...
阅读全文
posted @ 2015-05-15 20:19 DraugSolo
阅读(204)
评论(0)
推荐(0)
2015年5月14日
uu 模块
摘要: uu编码体系用于将任意二进制数据转换为普通文本格式.1 __author__ = 'Zechary'2 import uu3 import os, sys4 infile = 'D:/Python/fish.jpg'5 uu.encode(infile, sys.stdout, os.path.ba...
阅读全文
posted @ 2015-05-14 07:10 DraugSolo
阅读(247)
评论(0)
推荐(0)
下一页
公告