会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白龙白龙马
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
158
159
160
161
162
163
164
165
166
···
204
下一页
2020年2月18日
java+selenium——详解介绍Selenium常用API的使用--Java语言(完整版)
摘要: 官方API文档:https://selenium.dev/selenium/docs/api/java/index.html 参考:https://blog.csdn.net/qq_22003641/article/details/79137327?utm_source=distribute.pc_
阅读全文
posted @ 2020-02-18 22:58 小白龙白龙马
阅读(757)
评论(0)
推荐(0)
2020年2月17日
python+selenium+new——python读取Excel文件
摘要: python处理Excel相关说明:1、Python自带的csv模块可以处理.csv文件。 2、xlrd和xlwt两个模块分别用来读Excel和写Excel,只支持.xls和.xlsx格式,xlutils模块可以同时读写一个已存在的Excel文件,依赖于xlrd和xlwt。 3、openpyxl(可
阅读全文
posted @ 2020-02-17 19:58 小白龙白龙马
阅读(404)
评论(0)
推荐(0)
python+selenium+new——xlrd库——读取excel文件——xls结尾为示例 ——数据格式
摘要: from datetime import date, datetime import xlrd # 单元格类型: 0. empty(空的),1 string(text), 2 number, 3 date, 4 boolean, 5 error, 6 blank(空白表格) book = xlrd.
阅读全文
posted @ 2020-02-17 19:18 小白龙白龙马
阅读(275)
评论(0)
推荐(0)
python+selenium+new——xlrd库——读取excel文件——xls结尾为示例
摘要: pip install xlrd import xlrd book = xlrd.open_workbook("C:\\Users\\del\\Desktop\\Book2.xls") sheet_name = book.sheet_names()[0] #获取指定索引的sheet的名字 print
阅读全文
posted @ 2020-02-17 18:22 小白龙白龙马
阅读(272)
评论(0)
推荐(0)
python+selenium+new——xlrd库——读取excel文件——xlsx结尾为示例
摘要: pip install xlrd #j导入这个库 import xlrd book = xlrd.open_workbook("C:\\Users\\del\\Desktop\\Book1.xlsx") sheet_name = book.sheet_names()[0] #获取指定索引的sheet
阅读全文
posted @ 2020-02-17 18:20 小白龙白龙马
阅读(272)
评论(0)
推荐(0)
python+selenium+new——读取txt文件,以冒号分隔
摘要: f = open('C:\\Users\\del\\Desktop\\新建文本文档 (4).txt','r')date = f.readlines() #读取所有行,得到一个列表print(date)print(date[0])print(date[1])print(date[2])print(da
阅读全文
posted @ 2020-02-17 16:41 小白龙白龙马
阅读(584)
评论(0)
推荐(0)
2020年2月16日
python+selenium+new——AutoIt工具处理文件上传
摘要: 参考:https://www.cnblogs.com/xiaobaibailongma/p/12218933.html 参考:https://blog.csdn.net/u011541946/article/details/74359517 参考:https://blog.csdn.net/linx
阅读全文
posted @ 2020-02-16 21:35 小白龙白龙马
阅读(325)
评论(0)
推荐(0)
python+selenium+new——窗口——网页——切换窗口——切换frame——alert弹窗
摘要: from selenium import webdriver driver = webdriver.Firefox() # 指定浏览器驱动 #对象实例化 url1='https://www.baidu.com' #需要打开的网址 driver.get(url1) #driver.get("https
阅读全文
posted @ 2020-02-16 20:36 小白龙白龙马
阅读(684)
评论(0)
推荐(0)
2020年2月15日
python+selenium+new——格式化日期 ——文件夹路径
摘要: import time import os # picture_time = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime(time.time())) print(picture_time) # 2020-02-15-19-18-38 # pic
阅读全文
posted @ 2020-02-15 19:48 小白龙白龙马
阅读(180)
评论(0)
推荐(0)
python+selenium+new——格式化日期 ——新建以时间为名字的文件夹
摘要: import time import os # picture_time = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime(time.time())) print(picture_time) # 2020-02-15-19-18-38 # pic
阅读全文
posted @ 2020-02-15 19:39 小白龙白龙马
阅读(227)
评论(0)
推荐(0)
上一页
1
···
158
159
160
161
162
163
164
165
166
···
204
下一页