上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 71 下一页
摘要: API Reference : https://miyakogi.github.io/pyppeteer/reference.html from pyppeteer import chromium_downloaderprint(chromium_downloader.DEFAULT_DOWNLOA 阅读全文
posted @ 2020-07-12 01:45 不带R的墨菲特 阅读(536) 评论(0) 推荐(0)
摘要: dependency: pywin32 , pyperclip import win32apiimport win32conimport pyperclip def uploads(filePath): """ 使用 python 的 win32api,win32con 模拟按键输入,实现文件上传操 阅读全文
posted @ 2020-07-01 20:39 不带R的墨菲特 阅读(358) 评论(0) 推荐(0)
摘要: starts-with 顾名思义,匹配一个属性开始位置的关键字 contains 匹配一个属性值中包含的字符串 text() 匹配的是显示文本信息,此处也可以用来做定位用 eg //input[starts-with(@name,'name1')] 查找name属性中开始位置包含'name1'关键字 阅读全文
posted @ 2020-06-21 12:37 不带R的墨菲特 阅读(261) 评论(0) 推荐(0)
摘要: 数据特征: jmeterplugin-manager 搜索Random CSV Data Set Config 安装此jar重启 设置线程组5thread loop 2次测试下效果: 添加csv 插件: http sampler: view result tree : 主要对比每个请求发出去的id就 阅读全文
posted @ 2020-06-08 19:42 不带R的墨菲特 阅读(1962) 评论(0) 推荐(0)
摘要: [c:\~]$ alter table tb_test add index index_chen("id") [c:\~]$ drop index index_chen on test_tb ; [c:\~]$ create index inex_names on test_tb ; 查询文件3-5 阅读全文
posted @ 2020-06-03 11:26 不带R的墨菲特 阅读(147) 评论(0) 推荐(0)
摘要: def fib(n): a,b,count=0,1,0 while True: if count>n: return yield a a,b=b,a+b count +=1# 迭代器有两个基本的方法:iter() 和 next()。# 迭代器是访问元素的一种方式# 字符串,列表或元组对象都可用于创建 阅读全文
posted @ 2020-06-03 11:19 不带R的墨菲特 阅读(260) 评论(0) 推荐(0)
摘要: 迭代器(iterator) 实现了__iter__和__next__方法的对象都称为迭代器。迭代器是一个有状态的对象,在调用next() 的时候返回下一个值,如果容器中没有更多元素了,则抛出StopIteration异常。 迭代器是一种Lazy Load的模式,只有在调用时才生成值,没有调用的时候就 阅读全文
posted @ 2020-06-03 11:08 不带R的墨菲特 阅读(197) 评论(0) 推荐(0)
摘要: create table toys.test (id int, x0 double, x1 double, x2 double, x3 double) row format delimited fields terminated by ',' stored as textfile; 先在hive 数 阅读全文
posted @ 2020-05-28 15:51 不带R的墨菲特 阅读(880) 评论(0) 推荐(0)
摘要: 找到hadoop安装目录下$HADOOP_HOME/etc/mapred-site.xml,增加以下代码 <property> <name>yarn.app.mapreduce.am.env</name> <value>HADOOP_MAPRED_HOME=${HADOOP_HOME}</value 阅读全文
posted @ 2020-05-28 15:47 不带R的墨菲特 阅读(697) 评论(0) 推荐(0)
摘要: create table tbl_test_bak like tbl_test; insert into tbl_test_bak select * from tbl_test; 阅读全文
posted @ 2020-05-28 00:19 不带R的墨菲特 阅读(131) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 71 下一页