上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 87 下一页

2017年8月17日

摘要: 关于python调用cmd命令: 主要介绍两种方式: 1.python的OS模块。 OS模块调用CMD命令有两种方式:os.popen(),os.system(). 都是用当前进程来调用。 os.system是无法获取返回值的。当运行结束后接着往下面执行程序。用法如:OS.system("ipcon 阅读全文
posted @ 2017-08-17 22:18 帅胡 阅读(475) 评论(0) 推荐(0) 编辑

2017年8月5日

摘要: 1 #include "hiredis.h" 2 3 #define NO_QFORKIMPL 4 #pragma comment(lib,"hiredis.lib") 5 #pragma comment(lib,"Win32_Interop.lib") 6 7 int get_int_command(char int_command[200]) 8 { ... 阅读全文
posted @ 2017-08-05 22:30 帅胡 阅读(4042) 评论(0) 推荐(0) 编辑

2017年7月31日

摘要: 管理接口 交易接口 阅读全文
posted @ 2017-07-31 15:22 帅胡 阅读(270) 评论(0) 推荐(0) 编辑

2017年7月5日

摘要: 能否实现微信推送服务的平台有很多,这里我就不一一解释了。我选用了「Server酱」,英文名「ServerChan」。你完全可以选用你认为比较好用的平台。「Server酱」的申请方法: 打开该网址http://sc.ftqq.com/3.version,开通并使用: 1.登入:用GitHub账号登入网 阅读全文
posted @ 2017-07-05 20:45 帅胡 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding: utf-8 -*- 2 3 import subprocess 4 import re 5 6 def get_ping_result(ip_address): 7 p = subprocess.Popen(["ping.exe", ip_address], stdin = subprocess.PIPE, stdout = subpro... 阅读全文
posted @ 2017-07-05 19:38 帅胡 阅读(8644) 评论(0) 推荐(0) 编辑

2017年6月27日

摘要: 阅读全文
posted @ 2017-06-27 10:10 帅胡 阅读(1990) 评论(0) 推荐(0) 编辑

2017年6月18日

摘要: 如何根据搜索页面内容得到的结果生成该元素的xpath路径? 阅读全文
posted @ 2017-06-18 23:01 帅胡 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 首先判断元素是否存在,如果存在的时候使用location_once_scrolled_into_view就可以滚动到某个元素处,也就是滚动直到这个元素出现在屏幕里。 阅读全文
posted @ 2017-06-18 11:14 帅胡 阅读(258) 评论(0) 推荐(0) 编辑

2017年6月13日

摘要: 1 Action() 2 { 3 int result = 9999; 4 5 6 lr_start_transaction("login"); 7 8 9 web_add_cookie("JSESSIONID=061460B7DFF2F7C2C4275FE06EE08184; DOMAIN=abcd.com"); 10 11 ... 阅读全文
posted @ 2017-06-13 11:32 帅胡 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-13 11:14 帅胡 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 87 下一页

导航