摘要:
# coding=utf-8 import threading import time import string import random class TestTreading(threading.Thread): def __init__(self,func): threading.Thread.__init__(self) self.func ... 阅读全文
posted @ 2019-03-31 15:28
不带R的墨菲特
阅读(312)
评论(0)
推荐(0)
摘要:
解决思路两种:1.直接linux catalina.out读取:一分每10s轮询出现新的直接读取返回<br>2.缓存注入cookie,先手动登录获取session 然后通过注入user,pwd 进cookie cookie注入:见我csdn直接可以跑代码自己观察效果邮箱手动登录是有滑块拦截的 htt 阅读全文
posted @ 2019-03-31 15:11
不带R的墨菲特
阅读(1051)
评论(0)
推荐(0)
摘要:
之前在csdn写过这里就不赘述了 阅读全文
posted @ 2019-03-31 15:01
不带R的墨菲特
阅读(291)
评论(0)
推荐(0)
摘要:
1.数据模型: 2.数据处理 最终返回数据:[(),()] 格式 ddt调用: 阅读全文
posted @ 2019-03-31 14:54
不带R的墨菲特
阅读(505)
评论(0)
推荐(0)
摘要:
准备用例文件:testcase1.py testcase2.py 阅读全文
posted @ 2019-03-31 14:08
不带R的墨菲特
阅读(408)
评论(0)
推荐(0)
摘要:
import xlrd from selenium import webdriver import ddt import time import unittest class Excel(object): def __init__(self,excel_path,sheet_name): self.excel_file=xlrd.open_workbook(excel... 阅读全文
posted @ 2019-03-31 13:55
不带R的墨菲特
阅读(260)
评论(0)
推荐(0)
摘要:
import schedule import time """英文版书籍:《essential sqlalchemy》,这本书讲了很多在每天某个指定的时间点上, 从数据库中查找数据然后写入 csv 文件""" """ 使用APScheduler 笔者认为APScheduler是在实际项目最好用的一个工具库。 它不仅可以让我们在程序中动态添加和删除我们的定时任务, 还支持持久化,且其持久化方案支... 阅读全文
posted @ 2019-03-31 12:13
不带R的墨菲特
阅读(811)
评论(0)
推荐(0)