摘要: [在Python中使用protocol buffers参考指南](http://blog.csdn.net/losophy/article/details/17006573) 阅读全文
posted @ 2015-07-15 19:51 海阔天空1985 阅读(518) 评论(0) 推荐(0) 编辑
摘要: [Python collections模块实例讲解](http://www.jb51.net/article/48771.htm) 阅读全文
posted @ 2015-07-15 11:11 海阔天空1985 阅读(127) 评论(0) 推荐(0) 编辑
摘要: # python之分割参数getopt ``` pythonimport sys import getopt def usage(): print("Usage:%s [-a|-o|-c] [--help|--output] args...." %Dsys.argv[0]); i... 阅读全文
posted @ 2015-06-10 10:45 海阔天空1985 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 没有现成方法可以自己写一个测试函数集合,里面按顺序启动自己希望调起的测试函数,比较山寨 阅读全文
posted @ 2015-06-01 15:58 海阔天空1985 阅读(309) 评论(0) 推荐(0) 编辑
摘要: [python的日志logging模块学习](http://www.cnblogs.com/dkblog/archive/2011/08/26/2155018.html)# 简单的将日志打印到屏幕```pythonimport logginglogging.debug('This is debug ... 阅读全文
posted @ 2015-06-01 14:34 海阔天空1985 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ### 说明* 新建数组,用小括号括起,中间使用空格分隔 如:array_value=("a" "b" "c")* ${#array_value[*]}, 表示数组长度* shell的一种循环的一种实现方式,见示例代码 ### 示例代码```shellfilenames=("a" "b" "c")... 阅读全文
posted @ 2015-05-26 15:15 海阔天空1985 阅读(926) 评论(0) 推荐(0) 编辑