随笔分类 -  多测师_Python

摘要:Python课堂 第四节课 import os file_name=input('enter file name:') fobj = open(file_name,'a') while True: aline=input("enter a line('.' to quit ):") if aline 阅读全文
posted @ 2020-06-13 14:00 多测师_树哥 阅读(129) 评论(0) 推荐(0) 编辑
摘要:遍历列表: list= ['a', 'b', 'c', 'd', 'e’] list1 = [] for i in range(0, len(list)): list1=list[i] print(list1) list= ['a', 'b', 'c', 'd', 'e'] for i in ran 阅读全文
posted @ 2020-06-13 13:59 多测师_树哥 阅读(270) 评论(0) 推荐(0) 编辑
摘要:PIP包管理工具 --Python支持很多的第三方类库 一、pip安装器 Pip install 安装 Pip install selenium Pip uninstall 卸载 Pip uninstall selenium 二、pip3安装器 Pip3 install -r file 这个file 阅读全文
posted @ 2020-06-13 13:58 多测师_树哥 阅读(216) 评论(0) 推荐(0) 编辑
摘要:什么是MD5 Message Digest Algorithm MD5(中文名为消息摘要算法第五版)为计算机安全领域广泛使用的一种散列函数,用以提供消息的完整性保护。该算法的文件号为RFC 1321(R.Rivest,MIT Laboratory for Computer Science and R 阅读全文
posted @ 2020-06-03 09:29 多测师_树哥 阅读(332) 评论(0) 推荐(0) 编辑
摘要:在Python语言中,对线程的操作使使用的是threading,下面首先通过一个案例来测试进程和线程的 访问速度,首先见测试代码: #!/usr/bin/env python # -*-coding:utf-8 -*- import requests import threading from mu 阅读全文
posted @ 2020-05-31 20:56 多测师_树哥 阅读(263) 评论(0) 推荐(0) 编辑
摘要:使用python中的websocket-client模块来做相关的接口测试 import webclient def creatWS(user,password):#生成ws链接的函数 token = getToken(user,password)#调用系统的登录接口,获取token return 阅读全文
posted @ 2019-12-02 12:06 多测师_树哥 阅读(499) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-07-10 20:02 多测师_树哥 阅读(3115) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示