上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: import requestsimport jsonimport threadingimport timeimport uuid class postrequests(): def __init__(self): # UUID模块: # 产生UUID,生成唯一标识,uuid1:基于时间戳(由 MAC 阅读全文
posted @ 2018-11-23 10:13 wan了个蛋 阅读(5189) 评论(0) 推荐(0)
摘要: app、web测试: 使用fiddler抓包时抓第三方api时如果遇到系统提示网络错误或者返回数据为空时,可通过安装fiddler证书来解决此问题(仅针对http/https协议的请求) 如果抓取其他协议的请求:请使用其他工具,例如:wireshark(绝对的神器) 测试点: app前端问题: 1. 阅读全文
posted @ 2018-11-20 18:44 wan了个蛋 阅读(199) 评论(0) 推荐(0)
摘要: OperationExcle 类代码: # xlrd,xlwt和xlutils是用Python处理Excel文档(*.xls)的高效率工具。其中, # xlrd只能读取xls,xlwt只能新建xls(不可以修改), # xlutils能将xlrd.Book转为xlwt.Workbook,从而得以在现有xls的基础上修改数据, # 并创建一个新的xls,实现修改 import xlrd from xlutils.copy import copy # 导入xlutils模块实现对exlcle的修改 import os class OperationExcle: def __init__(self, file_address=None, sheet_id=None): # path='../dataCase' # for i in os.listdir(path): # # print(i) # if file_address != None: # 阅读全文
posted @ 2018-11-10 17:23 wan了个蛋 阅读(279) 评论(0) 推荐(0)
摘要: exit_flag=Falsedata= { '北京':{ "昌平":{ '沙河':['oldboy','test'], '天通苑':['链家房产','我爱我家'] }, '朝阳':{ "望京":['奔驰','陌陌'], '国贸':['CICC','HP'], '东直门':{'advent','飞信 阅读全文
posted @ 2018-05-29 21:26 wan了个蛋 阅读(180) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/wanglin_lin/article/details/77963931 阅读全文
posted @ 2018-05-26 14:51 wan了个蛋 阅读(332) 评论(0) 推荐(0)
摘要: 535报错解决方案:调用163邮箱服务器来发送邮件,我们需要开启POP3/SMTP服务,这时163邮件会让我们设置客户端授权码,这个授权码替代上面代码部分的passwd即可成功发送邮件 如果设置的邮箱是qq邮箱也可以通过此办法解决 邮件通知标题:构建通知:${BUILD_STATUS} - ${PR 阅读全文
posted @ 2018-05-21 21:53 wan了个蛋 阅读(474) 评论(0) 推荐(1)
摘要: product_list=[("Iphohe",5800),("Mac Pro Book",12900), ("xiaomi 4c",1200),("Alex python",120), ("Bike",800)]shopping_list=[]salary=input("input your sa 阅读全文
posted @ 2018-05-01 13:40 wan了个蛋 阅读(254) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <project name="ant-jmeter-test" default="all" basedir="."> <tstamp><format property="time" pattern="yyyyMMddhhm 阅读全文
posted @ 2018-04-05 21:23 wan了个蛋 阅读(255) 评论(0) 推荐(0)
摘要: <?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <!-- Licensed to the Apache Software Foundation ( 阅读全文
posted @ 2018-04-05 21:21 wan了个蛋 阅读(1007) 评论(0) 推荐(0)
摘要: count=0number=50while count<3: a=int(input("please send keys a math:\n")) if a<number: print("too sale") elif a>number: print("too bigger") elif a==nu 阅读全文
posted @ 2018-04-05 21:16 wan了个蛋 阅读(134) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 下一页