• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Williamzon
https://docs.python.org/2/library/index.html
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2
2015年7月29日
asp.net单例模式
摘要: 目的:保证一个类只有一个单一的实例好处:1.在资源共享的情况下,避免由多个操作而导致的资源消耗;2.提供可变数目的实例。标准的单例代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Tex... 阅读全文
posted @ 2015-07-29 15:13 Williamzon 阅读(230) 评论(0) 推荐(0)
2015年7月20日
centos 更新python
摘要: 1、CentOS安装Python的依赖包yum groupinstall "Development tools"yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-... 阅读全文
posted @ 2015-07-20 10:30 Williamzon 阅读(190) 评论(0) 推荐(0)
2015年7月15日
debuggee python
摘要: my_debugger_defines.py 1 #encoding:utf-8 2 3 from ctypes import * 4 from sys import version as py_ver 5 6 # In python 2.7.6, LPBYTE is not defined i... 阅读全文
posted @ 2015-07-15 14:10 Williamzon 阅读(379) 评论(0) 推荐(0)
2015年7月6日
常用端口号
摘要: 网络层---数据包的包格式里面有个很重要的字段叫做协议号。比如在传输层如果是TCP连接,那么在网络层IP包里面的协议号就将会有个值是6,如果是UDP的话那个值就是17---传输层。传输层---通过接口关联(端口的字段叫做端口)---应用层。用netstat –an可以查看本机开放的端口号。代理服务器... 阅读全文
posted @ 2015-07-06 10:41 Williamzon 阅读(254) 评论(0) 推荐(0)
2015年6月24日
.NET 集合类型性能分析
摘要: 集合AddInsertRemoveItemSortFindList如果集合重置大小,就是O(1)或O(n)O(n)O(n)O(1)O(n log n),最坏情况O(n^2)StackPush(),如果栈必须重置大小,就是O(1)或O(n)n/aPop,O(1)n/an/an/aQueueEnqueu... 阅读全文
posted @ 2015-06-24 14:42 Williamzon 阅读(279) 评论(0) 推荐(1)
QTP vbs学习
摘要: 1、helloworldDim helloworldhelloworld = "QTP自动化测试技术导航"mxgbox helloworld2、显示申明变量Option Explicit '显示申明变量Dim helloworldhelloworld = 'QTP自动化测试技术导航"msgbox... 阅读全文
posted @ 2015-06-24 14:39 Williamzon 阅读(384) 评论(0) 推荐(0)
LoadRunner脚本设计、场景设计和结果分析
摘要: 本次笔记主要记录LoadRunner脚本设计、场景设计和结果分析1、 脚本设计 录制模式 手工模式:插入步骤、手动编写 1.1 脚本增强: 事务、集合点、参数化、关联、检查点 检查点:web_reg_find 、web_find(需要打勾)区别 其中web... 阅读全文
posted @ 2015-06-24 14:36 Williamzon 阅读(1251) 评论(0) 推荐(0)
2015年6月17日
递归函数 Python
摘要: 函数:def fact(n): if n==1: return 1 return n * fact(n-1)递归过程:print(fact(5))>>fact(5)>>5 * fact (4)>>5 * (4 * fact(3))>>5 * (4 * (3 * fact(2)))>>5 *... 阅读全文
posted @ 2015-06-17 10:30 Williamzon 阅读(149) 评论(0) 推荐(0)
* 和 ** python
摘要: *代表tuple集合,**代表dictdef func(a, b, c=0, *args, **kw) print ('a=',a, 'b=',b,'c=',c,'args=',args,'kw=',kw)>> func(1,2,c=3)>>a=1 b=2 c=3 args=() kw={}>>f... 阅读全文
posted @ 2015-06-17 10:02 Williamzon 阅读(172) 评论(0) 推荐(0)
上一页 1 2
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3