摘要:
使用Python+selenium搭建自动化测试环境 阅读全文
posted @ 2017-11-05 20:50
lemontree-m
阅读(171)
评论(0)
推荐(0)
摘要:
爬虫工具BeautifulSoup 阅读全文
posted @ 2017-11-05 20:48
lemontree-m
阅读(97)
评论(0)
推荐(0)
摘要:
生成器 装饰器 contextManager 线程进程 阅读全文
posted @ 2017-11-05 20:46
lemontree-m
阅读(117)
评论(0)
推荐(0)
摘要:
Python支持的正则表达式元字符和语法: re模块 import re pattern = re.compile(r'hello') # 将正则表达式编译成Pattern对象 match = pattern.match('hello world!') # 使用Pattern匹配文本,获得匹配结果, 阅读全文
posted @ 2017-11-05 20:43
lemontree-m
阅读(141)
评论(0)
推荐(0)
摘要:
1. 模块导入 import xxx 或 from xxx import xxx ,尽量避免使用 from xxx import * 2. 变量 局部变量:只能在一个函数内或一个类内使用,可赋值和更改值 全局变量:可在所有函数或者类中使用,可赋值和更改值 3. 数据类型 整数:如2 浮点数:如2.2 阅读全文
posted @ 2017-11-05 20:29
lemontree-m
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号