自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (1)
  • 收藏
  • 关注

原创 RSA 加密

https://www.cnblogs.com/deliaries/p/13445277.htmlrsakey = RSA.importKey(public_key) # 加载公钥cipher = PKCS1_v1_5.new(rsakey)cipher_text = base64.b64encode(cipher.encrypt(message))# cipher_text = cipher.encrypt(message)print cipher_texta = cipher_text

2021-02-24 12:34:38 134

原创 python: no module named xxxx

https://www.cnblogs.com/dreamyu/p/7889959.html本机cmd下面运行报错,no module named xxxx,解决方法

2020-11-24 18:32:37 561

转载 git config user.email and user.name

Successfully created project ‘pinyougou-parent’ on GitHub, but initial commit failed: *** Please tell me who you are. Run git config --global user.email “you@example.com” git config --global user.name “Your Name” to set your account’s default identity. Omi

2020-11-20 10:34:22 2392

原创 python 子类调用父类函数时super()

子类调用父类函数时,用super(),super后面为啥要加一个括号?super是一个函数,函数的调用就需要加括号直接用super.eat()等于调用super这个对象的eat方法,而super对象不存在? 还不清楚待完善https://www.imooc.com/wenda/detail/506052 参考文章...

2020-09-23 23:24:02 371

转载 python join()函数的用法

函数:string.join() join(): 连接字符串数组。将字符串、元组、列表中的元素以指定的字符(分隔符)连接生成一个新的字符串一、函数说明1、join()函数语法: 'sep'.join(seq)参数说明sep:分隔符。可以为空seq:要连接的元素序列、字符串、元组、字典上面的语法即:以sep作为分隔符,将seq所有的元素合并成一个新的字符串返回值:返回一个以分隔符sep连接各个元素后生成的字符串2、os.path.join()函数语法: os.p...

2020-09-18 12:33:51 4726

原创 如何去掉输出字典,前边的dict_keys, 加list,‘:‘.join(list_name)把列表中每个成员用:连接成一个字符串

解决问题成功解决如何去掉输出字典,前边的dict_keysprint(person_info[0]..keys()) #输出dict_keys(['name', 'age', 'gender', 'hobby', 'motto'])person_info = [{"name":"yuze", "age": 18, "gender": "男", "hobby": "假正经", "motto": "I am yours"}, {"name":"dnise"...

2020-09-18 09:12:19 302

转载 Python 参数的拆包

什么是拆包拆包: 对于函数中的多个返回数据, 去掉元组, 列表 或者字典 直接获取里面数据的过程.怎么拆包1) 对列表进行拆包my_list = [1, 3.14, "hello", True]num, pi, my_str, my_bool = my_list# 或者num, pi, my_str, my_bool = [1, 3.14, "hello", True]2) 对元组进行拆包my_tuple = (1, 3.14, "hello", True)num, pi

2020-09-17 20:58:47 182

原创 接口变更后如何做测试设计?

待定

2020-06-02 16:42:09 740

原创 软件测试设计方法

基于规格的黑盒测试:功能测试分类:1、数据---边界值、等价类、域测试、分类数、随机选择、统计选择2、组合---不组合、正交、pairwise、N-wise3、事件驱动---状态图4、流程---usecase5、逻辑--决策树、判定表、因果图6、全景--场景测试非功能测试:性能/能力可靠性可用性可维护性安全可测试性基于经验及其他:

2020-06-02 16:41:14 878

转载 关于python的新特性函数注释(定义函数时使用“:”及“ ->”符号)

https://blog.csdn.net/finalkof1983/article/details/87943032def lengthOfLongestSubstring(self, s: str) -> int:这种定义方式完全没明白啥意思,于是经过一番查找,大体意思如下:这是python3的新特性,简单理解为s:str中的s还是你要传的形参这个没有变,str为该形参的注释...

2020-05-06 22:49:03 491

原创 data for exp

1. lisv2 测试 rateplan2. rtm 获取不同hotel下的房间的room的相似性,得出score,根据attribute去判断是否和得出的similarity score一致roomtypesimilarity, mostsimilarityroom, fullranking 排序3. prefill 抓取hotel获取room信息,训练抓取模型...

2020-04-24 17:13:19 173

原创 函数式编程

map()函数map(function, iterable) 对 iterable 中的每个元素,都运用 function这个函数,最后返回一个新的可遍历的集合l = [1, 2, 3, 4, 5]new_list = map(lambda x: x * 2, l) # [2, 4, 6, 8, 10]因为 map() 函数直接由 C 语言写的,运行时不需要通过Python 解释器...

2020-04-24 16:10:13 140

原创 数据分析资料

Pandashttps://www.jianshu.com/p/7ac36fafebeaseries: 一维dataframe: 二维Excelhttps://jingyan.baidu.com/article/b7001fe19422f50e7282dd0c.htmlDataFrame.set_index()https://pandas.pydata.org/p...

2020-04-24 16:09:27 226

转载 Selenium: expected_conditions类提供的预期条件判断的方法

2020-04-23 10:48:38 211

转载 Selenium:利用select模块处理下拉框

from selenium.webdriver.support.select import select在利用selenium进行UI自动化测试过程中,经常会遇到下拉框选项,这篇博客,就介绍下如何利用selenium的Select模块来对标准select下拉框进行操作。。。首先导入Select模块:1 # coding=utf-82 from selenium import...

2020-04-22 16:43:34 1059

原创 python unnitest

unittest.main()的作用是:将一个单元测试模块变为可直接运行的测试脚本。

2020-04-20 17:05:27 194

转载 python interface zope

https://blog.csdn.net/mouday/article/details/84586985by the way:暂时没发现 zope.interface 的有啥好处from zope.interface import Interfacefrom zope.interface.declarations import implementerclass IHuman...

2020-04-20 14:38:04 109

原创 python mindom 模块

https://www.cnblogs.com/wcwnina/p/7222180.htmlPython minidom模块(DOM写入和解析XML)

2020-04-20 14:26:54 397

原创 xpath定位方法详解

https://www.cnblogs.com/unknows/p/7684331.html1、id 获取id 的属性值2、starts-with 顾名思义,匹配一个属性开始位置的关键字 -- 模糊定位3、contains 匹配一个属性值中包含的字符串-- 模糊定位4、text() 函数文本定位5、last() 函数位置定位...

2020-02-25 22:38:35 160

原创 从文件中读取后要还原对象的类型

https://www.jb51.net/article/120815.htm

2020-02-11 17:58:11 182

原创 python string

逆序输出[::-1]

2020-02-06 09:49:11 70

原创 python 类中public,protected,private定义方式

inlist = list(map(int, input().split()))

2020-02-05 21:27:17 454

转载 转载技术达人文章

https://www.cnblogs.com/fengpingfan/tag/JMeter/

2019-12-12 14:18:55 67

原创 软件测试设计方法

基于规格的黑盒测试:功能测试分类:1、数据---边界值、等价类、域测试、分类数、随机选择、统计选择2、组合---不组合、正交、pairwise、N-wise3、事件驱动---状态图4、流程---usecase5、逻辑--决策树、判定表、因果图6、全景--场景测试非功能测试:性能/能力可靠性可用性可维护性安全可测试性基于经验及其他:...

2019-12-12 14:16:29 231

原创 Jmeter提取响应字段

https://www.cnblogs.com/whitewasher/p/9504728.htmlhttps://www.cnblogs.com/whitewasher/p/6762793.html

2019-12-08 10:01:59 1553

经典SQL语句大全

经典SQL语句大全,基础,提升,技巧都包含在里面,非常全面的SQL语句文档

2012-12-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除