摘要: 日期运算 加上一天 ➜ ~ date 2020年 09月 03日 星期四 17:18:23 CST ➜ ~ date -d "+1 day" +%Y-%m-%d 2020-09-04 ➜ ~ 指定日期加减 ➜ ~ date -d "2020-09-10 -1 day " +%Y-%m-%d 2020 阅读全文
posted @ 2020-09-03 17:19 JunCode 阅读(3188) 评论(0) 推荐(0)
摘要: 获取 html 执行js得到整个HTML,这里得到的是纯html文件 html = driver.execute_script("return document.documentElement.outerHTML") 获取完整的网页信息 一般一个网页会包括 html、js、css 图片、Flash动 阅读全文
posted @ 2020-09-03 14:43 JunCode 阅读(5923) 评论(2) 推荐(0)
摘要: hbase删除数据每次都要传入一的rowkey,然后按行删除数据,所以我们删除一列只需要获取到这一列数据的行号就行了。 from happybase import Connection CLIENT=Connection(host='xxxxxxxx',port=xxxxx) table=CLIEN 阅读全文
posted @ 2020-09-03 14:41 JunCode 阅读(502) 评论(0) 推荐(0)