上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 67 下一页
摘要: 方式一: 通过icanhazip.com返回的ip地址进行检测 方式二: Telnet方法 from: https://www.jb51.net/article/144418.htm http://http.hunbovps.com/article id 423.html 阅读全文
posted @ 2019-10-31 15:54 hank-li 阅读(7501) 评论(0) 推荐(0)
摘要: 结果: 阅读全文
posted @ 2019-10-28 17:07 hank-li 阅读(1848) 评论(0) 推荐(0)
摘要: ``` import redis pool = redis.ConnectionPool(host='localhost', port=6379,encoding="UTF-8",decode_responses=True) r = redis.Redis(connection_pool=pool) result = r.keys("*") #遍历所有元素 for res in result: p 阅读全文
posted @ 2019-10-28 13:25 hank-li 阅读(195) 评论(0) 推荐(0)
摘要: 问题: windows下安装Redis第一次启动报错: 解决: 在命令行中运行 然后重新运行 启动成功! from: https://www.cnblogs.com/shaosks/p/7089786.html 阅读全文
posted @ 2019-10-28 12:01 hank-li 阅读(1941) 评论(0) 推荐(0)
摘要: cmd中敲命令: 更新升级pip命令: 阅读全文
posted @ 2019-10-28 10:09 hank-li 阅读(671) 评论(0) 推荐(0)
摘要: 1.下载对应的Twisted,下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/ twisted 2.通过Anaconda3的Anaconda Prompt进行安装 3.具体步骤: (1) cd 下载的文件地址,如本人的:cd F:\下载 (2)pip 阅读全文
posted @ 2019-10-28 10:08 hank-li 阅读(8745) 评论(0) 推荐(0)
摘要: 第一步: 通过 ProxyBroker 获取代理 第二步: HTTP服务器展示代理列表: http://0.0.0.0:8000/proxy.json 第三步: 结果测试 增加国内代理 阅读全文
posted @ 2019-10-27 12:39 hank-li 阅读(199) 评论(0) 推荐(0)
摘要: 安装: 用法如下: 结果展示: 阅读全文
posted @ 2019-10-23 19:40 hank-li 阅读(1326) 评论(0) 推荐(0)
摘要: 问题 我想在python中删除字符串中的字符: 但是我必须删除许多字符。 我想到了一个清单 但是如何使用list替换string中的字符? 方法一 from: https://www.itranslater.com/qa/details/2115759020177884160 阅读全文
posted @ 2019-10-23 17:31 hank-li 阅读(621) 评论(0) 推荐(0)
摘要: ``` import os import re import sys import glob import xml.etree.ElementTree as ET def xml_to_txt(indir,outdir): os.chdir(indir) annotations = os.listdir('.') annotations = glob.glob(str(annotations)+' 阅读全文
posted @ 2019-10-23 16:49 hank-li 阅读(6945) 评论(1) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 67 下一页