CoderZh的技术博客
“专注、热爱、 全心贯注于你所期望的事物上,必有收获。” - 爱默生
博客园
首页
博问
闪存
联系
订阅
管理
随笔-206 文章-10 评论-1761
Python
很强,很好玩
Lupa - Python中调用Lua
posted @
2010-11-29 23:34
CoderZh 阅读(1388) |
评论 (0)
编辑
NancyWiki1.0.1更新 - 代码自动着色
posted @
2010-11-08 02:21
CoderZh 阅读(1565) |
评论 (4)
编辑
Pyjamas - 用python代替javascript编写基于浏览器的应用
posted @
2010-09-16 23:09
CoderZh 阅读(1885) |
评论 (0)
编辑
发布基于GAE的个人Wiki系统 - NancyWiki
摘要: 一个周末的时间,我写了这个Wiki系统。NancyWiki是基于Google App Engine开发的,使用的语言是Python。Wiki标记语言采用的是Markdown,因为它简单,易用。 NancyWiki致力于打造用户真正想要的个人Wiki系统。多看书,多学习,多记笔记,就用NancyWiki!
阅读全文
posted @
2010-09-12 22:16
CoderZh 阅读(4294) |
评论 (23)
编辑
Python 天天美味(37) - 让python的unittest像gtest一样输出
posted @
2010-08-23 02:44
CoderZh 阅读(1700) |
评论 (1)
编辑
Python获取IAccessible接口
posted @
2010-06-05 10:45
CoderZh 阅读(1059) |
评论 (3)
编辑
Get IHTMLDocument2 for UI Automation in Python
posted @
2010-05-05 01:23
CoderZh 阅读(471) |
评论 (0)
编辑
Python操作IHTMLDocument2用于自动化测试
posted @
2010-05-05 00:57
CoderZh 阅读(1385) |
评论 (3)
编辑
Python天天美味(36) - 用Python实现Spy++
posted @
2010-05-02 15:41
CoderZh 阅读(4755) |
评论 (21)
编辑
Python天天美味(35) - 细品lambda
posted @
2010-04-30 23:51
CoderZh 阅读(2969) |
评论 (7)
编辑
Python天天美味(34) - Decorators详解
posted @
2010-04-27 01:22
CoderZh 阅读(4171) |
评论 (0)
编辑
PyCharm - 又一强大Python IDE
posted @
2010-04-26 00:20
CoderZh 阅读(6923) |
评论 (16)
编辑
Python查询Google PageRank
posted @
2010-01-11 12:29
CoderZh 阅读(764) |
评论 (0)
编辑
Tornado Unit Testing - Tornado应用的单元测试
摘要: 之前在测试Django应用时,使用了非常方便的django.test.TestCase。在测试Tornado时,我也包装了一个TestCase类,提供和Django一样便捷的测试方法。
阅读全文
posted @
2010-01-01 10:48
CoderZh 阅读(819) |
评论 (1)
编辑
Emacs中打造强大的Python IDE
posted @
2009-12-26 16:00
CoderZh 阅读(7333) |
评论 (3)
编辑
Django单元测试案例代码覆盖率统计 - 自定义test runner
posted @
2009-12-01 21:43
CoderZh 阅读(817) |
评论 (2)
编辑
Python 代码覆盖率统计工具 coverage.py
posted @
2009-12-01 21:19
CoderZh 阅读(1283) |
评论 (2)
编辑
django单元测试历险记
摘要: 最近需要测试一个服务器端的django项目,查看了一下django的文档,发现django为了更加方便的对web应用进行测试,提供了一些便捷的测试方法。并且,专门有一篇文档讲诉如何测试django应用。 快速横扫了一下文档后,初步印象是django默认支持Doctests和Unit tests两个测试框架的,同时提供了一些辅助的测试类,比如Test Client、TestCase、Email Service。通过Client,可以方便的发起一个get或者post请求,并且取得返回结果。而TestCase也是对 unittest.TestCase进行了进一步的封装,省去了很多重复要写的代码,比如定义一个self.client。Email Service提供了方便的邮件发送的方法。 使用Test Client有什么好处呢? 1. 它不需要Web服务器运行起来。 2. 它执行更加快速。 3. 它能非常方便的取到被测应用内部的东西。
阅读全文
posted @
2009-11-15 23:58
CoderZh 阅读(769) |
评论 (0)
编辑
PyQt4学习资料汇总
摘要: 一个月前研究了下PyQt4,感觉比较不错。相比wxpython,界面美观了很多,并且将界面设计与代码逻辑很好的分离了开来。关于PyQt4的资料也不少,这里我将我找到的资料汇总一下。
阅读全文
posted @
2009-06-28 23:23
CoderZh 阅读(11143) |
评论 (114)
编辑
试用了Eric4,打算在Eric4中使用Pyqt4写个GUI程序
摘要: 之前一直用WingIDE写Python代码,虽然WingIDE在很多方面非常优秀,但是它存在一些问题: 1. 速度太慢,有时候自己只是想写一个小脚本,都不想打开WingIDE,而是直接在PyWin里写。 2. 代码补全和提示功能经常出问题 明天打算写个GUI的python程序,本来打算使用wxpython的,似乎以前用wxpython写的界面太丑,想换换pyqt4。于是乎将 pyqt4下载了下来,在官网又看到一个专门为Python,Ruby提供的IDE - Eric4,一时心动,下来试用了一下。Eric4本身的GUI部分是使用pyqt4做的,界面非常美观,嗯,有的研究了。
阅读全文
posted @
2009-04-12 00:52
CoderZh 阅读(3849) |
评论 (7)
编辑
Python天天美味(33) - 五分钟理解元类(Metaclasses)[转]
posted @
2008-12-07 21:21
CoderZh 阅读(1650) |
评论 (1)
编辑
xmlrcp学习 - python中使用xmlrpc
posted @
2008-12-03 19:37
CoderZh 阅读(1185) |
评论 (0)
编辑
Zope学习汇总
posted @
2008-11-29 15:38
CoderZh 阅读(334) |
评论 (1)
编辑
wxpython学习笔记
摘要: 自己学习和使用wxpython过程中遇到的一些问题,以及一些心得。同时把wxpython相关的学习资源总结了一下。
阅读全文
posted @
2008-11-23 12:00
CoderZh 阅读(4290) |
评论 (3)
编辑
Python天天美味(32) - python数据结构与算法之堆排序
摘要: 堆排序的原理将数组调整成堆,然后将堆顶元素与最后一个元素交换,然后将最后一个节点剔除出堆,再将剩下的数组调整成堆,然后再交换堆顶元素与最后一个元素……
阅读全文
posted @
2008-09-22 20:39
CoderZh 阅读(1513) |
评论 (1)
编辑
Python天天美味(31) - python数据结构与算法之插入排序
摘要: 插入排序算法思路是:假定这个数组的序是排好的,然后从头往后,如果有数比当前外层元素的值大,则将这个数的位置往后挪,直到当前外层元素的值大于或等于它前面的位置为止.这具算法在排完前k个数之后,可以保证a[1…k]是局部有序的,保证了插入过程的正确性.
阅读全文
posted @
2008-09-21 20:08
CoderZh 阅读(1237) |
评论 (0)
编辑
Python天天美味(30) - python数据结构与算法之快速排序
摘要: 快速排序的原理是将取出第一个数,将整个数组分为两波,一拨都大于这个数,另一波都小于这个数,然后递归用同样的方法处理第一波数字和第二波数字。都说是 “快速排序”,效率肯定比其他的一般排序算法高,下面我们就来验证一把,比较一下所谓的“快速排序”和“冒泡排序”的性能差异。
阅读全文
posted @
2008-09-20 22:05
CoderZh 阅读(2255) |
评论 (5)
编辑
博客园仿真足球竞赛平台Python版SDK
摘要: 为了方便喜欢Python的同学能使用Python开发自己的球队,所以编写了此SDK。这个SDK基本上是参照C#版SDK改过来的,除了一些复杂的几何算法没有实现外,其他功能都已实现。喜欢的朋友可以自己下了慢慢改善,我也会不断更新这个SDK。
阅读全文
posted @
2008-09-11 16:48
CoderZh 阅读(2103) |
评论 (12)
编辑
CoderZh首款Python联机对战游戏 - NancyTetris1.0倾情发布(二)
摘要: 设计比较简单,因此画了几个图
阅读全文
posted @
2008-08-01 14:21
CoderZh 阅读(770) |
评论 (2)
编辑
CoderZh首款Python联机对战游戏 - NancyTetris1.0倾情发布(一)
摘要: 第一次写游戏,第一次用Python写游戏,所以决定写个俄罗斯,还支持联机对战! 由于在游戏编写的数据结构及算法设计上经验不足,同时在实现联机对战过程中仅仅使用了一些简单TCP/IP数据传输的机制,所以肯定有很多地方有待改进。 具体的代码实现及算法分析过程稍后补上(下面有Python源码下载),这里先接受大家砖头和鸡蛋,希望多提意见和建议!
阅读全文
posted @
2008-07-28 20:44
CoderZh 阅读(2803) |
评论 (36)
编辑
Python天天美味(29) - 调用VC++的动态链接库(DLL)
posted @
2008-07-23 19:47
CoderZh 阅读(1150) |
评论 (0)
编辑
Python天天美味(总)
摘要: Python天天美味,每天一口,乐在其中,悠哉,悠哉~~
阅读全文
posted @
2008-07-08 09:22
CoderZh 阅读(7134) |
评论 (9)
编辑
Foundations of Python Network Programming - 读书笔记系列(3) - Email Services
posted @
2008-07-02 20:32
CoderZh 阅读(400) |
评论 (0)
编辑
Foundations of Python Network Programming - 读书笔记系列(2) - Web Services
posted @
2008-06-23 20:28
CoderZh 阅读(2481) |
评论 (0)
编辑
Foundations of Python Network Programming - 读书笔记系列(1) - Low-Level Networking
posted @
2008-06-16 20:45
CoderZh 阅读(2284) |
评论 (3)
编辑
Foundations of Python Network Programming - 读书笔记系列(完)
posted @
2008-06-10 21:19
CoderZh 阅读(3726) |
评论 (8)
编辑
Python天天美味(28) - urlopen
posted @
2008-06-07 17:03
CoderZh 阅读(1135) |
评论 (13)
编辑
Python天天美味(27) - 网络编程起步(Socket发送消息)
posted @
2008-06-07 14:59
CoderZh 阅读(1295) |
评论 (10)
编辑
Python天天美味(26) - __getattr__与__setattr__
posted @
2008-05-25 15:39
CoderZh 阅读(994) |
评论 (14)
编辑
Python天天美味(25) - 深入理解yield
摘要: yield的英文单词意思是生产,刚接触Python的时候感到非常困惑,一直没弄明白yield的用法。本人将深入讨论Python中yield的用法。后来发现.Net也有yield关键字,恩,学习了~
阅读全文
posted @
2008-05-18 17:01
CoderZh 阅读(4583) |
评论 (7)
编辑
Python天天美味(24) - 初始化多维数组
posted @
2008-05-18 14:40
CoderZh 阅读(1909) |
评论 (6)
编辑
Python天天美味(23) - enumerate遍历数组
posted @
2008-05-17 20:04
CoderZh 阅读(803) |
评论 (2)
编辑
Python天天美味(22) - 拷贝对象(深拷贝deepcopy与浅拷贝copy)
posted @
2008-05-17 19:49
CoderZh 阅读(1408) |
评论 (6)
编辑
Python天天美味(21) - httplib,smtplib
posted @
2008-05-17 17:58
CoderZh 阅读(1129) |
评论 (1)
编辑
试用IronPython
posted @
2008-05-17 11:59
CoderZh 阅读(495) |
评论 (0)
编辑
Python天天美味(20) - 命令行参数sys.argv
posted @
2008-05-16 19:31
CoderZh 阅读(2747) |
评论 (1)
编辑
Python天天美味(19) - 时间处理datetime
posted @
2008-05-16 19:19
CoderZh 阅读(1096) |
评论 (0)
编辑
Ken Thompson爷爷的经典复制自身代码程序 - Python版本(只用两行!)
posted @
2008-05-13 08:58
CoderZh 阅读(5571) |
评论 (22)
编辑
Python天天美味(18) - linecache.getline()读取文件中特定一行
posted @
2008-05-10 21:52
CoderZh 阅读(1991) |
评论 (0)
编辑
Python天天美味(17) - open读写文件
posted @
2008-05-10 17:32
CoderZh 阅读(2833) |
评论 (4)
编辑
Python天天美味(16) - 过滤字符串的技巧,map与itertools.imap
posted @
2008-05-09 16:22
CoderZh 阅读(1243) |
评论 (7)
编辑
Python天天美味(15) - Python正则表达式操作指南(re使用)(转)
摘要: 找到一篇专门讲Python中的正则表达式的文章,写的非常全面,转过来学习。
阅读全文
posted @
2008-05-06 19:54
CoderZh 阅读(5021) |
评论 (8)
编辑
Python天天美味(14) - splitlines
posted @
2008-05-05 20:05
CoderZh 阅读(796) |
评论 (0)
编辑
Python天天美味(13) - struct.unpack
posted @
2008-05-04 11:29
CoderZh 阅读(2502) |
评论 (12)
编辑
Python天天美味(12) - 条件判断的缩写
posted @
2008-05-04 11:08
CoderZh 阅读(1137) |
评论 (8)
编辑
Python天天美味(11) - 可爱的大小写
posted @
2008-05-04 10:32
CoderZh 阅读(2790) |
评论 (16)
编辑
Python天天美味(10) - 除法小技巧
posted @
2008-05-04 09:55
CoderZh 阅读(939) |
评论 (8)
编辑
Python天天美味(9) - translator
摘要: Python的translate方法真是太有意思了
阅读全文
posted @
2008-05-03 22:10
CoderZh 阅读(2472) |
评论 (10)
编辑
Python天天美味(8) - 字符串中的字符倒转
posted @
2008-05-03 20:43
CoderZh 阅读(743) |
评论 (1)
编辑
Python天天美味(7) - 连接字符串(join %)
posted @
2008-05-03 20:27
CoderZh 阅读(1406) |
评论 (3)
编辑
Python天天美味(6) - strip lstrip rstrip
posted @
2008-05-02 19:11
CoderZh 阅读(1321) |
评论 (8)
编辑
Python天天美味(5) - ljust rjust center
posted @
2008-05-02 18:36
CoderZh 阅读(963) |
评论 (4)
编辑
Python天天美味(4) - isinstance判断对象类型
posted @
2008-05-02 16:47
CoderZh 阅读(1463) |
评论 (1)
编辑
Python天天美味(3) - 字符转换
posted @
2008-05-02 16:24
CoderZh 阅读(1325) |
评论 (3)
编辑
Python天天美味(2) - 字符遍历的艺术
posted @
2008-04-30 14:14
CoderZh 阅读(1824) |
评论 (1)
编辑
Python天天美味(1) - 交换变量
posted @
2008-04-29 22:01
CoderZh 阅读(2651) |
评论 (12)
编辑
公告
Happy Coding!! Happy Life!!!
我的邮箱:coderzh#gmail.com
盛大EverBox在线存储邀请
Dropbox邀请
跟随我的推特
我的新浪微博
订阅我的博客
FeedBurner
我的豆瓣
我的GAE博客
我的NancyWiki
昵称:
CoderZh
园龄:
5年6个月
粉丝:
160
关注:
10
搜索
随笔分类
Agile(2)
(rss)
Android(3)
(rss)
ASP.NET(3)
(rss)
C#(20)
(rss)
C/C++(23)
(rss)
Emacs(2)
(rss)
Google App Engine(7)
(rss)
JAVA(4)
(rss)
Linux(1)
(rss)
Lua(2)
(rss)
Python(67)
(rss)
Ubuntu(9)
(rss)
VBS(4)
(rss)
安全性测试(10)
(rss)
测试生活感悟(7)
(rss)
程序人生(14)
(rss)
代码安全(3)
(rss)
单元测试(18)
(rss)
公告(12)
(rss)
每周总结(5)
(rss)
软件测试(30)
(rss)
设计模式
(rss)
性能测试(9)
(rss)
学习笔记(23)
(rss)
随笔档案
2011年5月 (1)
2011年3月 (1)
2011年1月 (1)
2010年12月 (3)
2010年11月 (3)
2010年10月 (2)
2010年9月 (6)
2010年8月 (2)
2010年7月 (4)
2010年6月 (3)
2010年5月 (4)
2010年4月 (9)
2010年3月 (6)
2010年2月 (3)
2010年1月 (16)
2009年12月 (6)
2009年11月 (3)
2009年10月 (4)
2009年9月 (3)
2009年8月 (2)
2009年7月 (7)
2009年6月 (2)
2009年4月 (12)
2009年3月 (5)
2009年2月 (2)
2009年1月 (3)
2008年12月 (7)
2008年11月 (9)
2008年9月 (8)
2008年8月 (7)
2008年7月 (8)
2008年6月 (9)
2008年5月 (33)
2008年4月 (6)
2008年2月 (1)
2007年12月 (3)
2007年11月 (3)
2007年10月 (7)
2007年9月 (1)
系列文章
Python天天美味系列
攻击方式学习系列
瘦客户端那些事
玩转gtest系列
读书笔记
Python网络编程
xUnit Test Patterns
卓有成效的程序员
友情链接
我的GAE生活博客
(rss)
积分与排名
积分 - 509986
排名 - 117
最新评论
阅读排行榜
评论排行榜
推荐排行榜