上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页
摘要: 一、安装 #拉取容器,不要拉最新版的,最新版的有bug docker pull neo4j:3.4 #拉取可能会很慢或中断,可以使用阿里云加速地址 vim /etc/docker/daemon.json #your_id你自己的阿里云ID号 --registry-mirror=https://{yo 阅读全文
posted @ 2020-03-31 12:47 Maple_feng 阅读(1248) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-03-27 16:39 Maple_feng 阅读(0) 评论(0) 推荐(0)
摘要: 一、代码 import os import pandas as pd class PathError(BaseException): def __init__(self, error): self.error = error class ReadError(BaseException): def _ 阅读全文
posted @ 2020-03-27 14:04 Maple_feng 阅读(911) 评论(0) 推荐(0)
摘要: 一、代码 import pandas as pd import os class ExcelColumn(object): def __init__(self, path, columns=None, converters=None): self.path = path self.columns = 阅读全文
posted @ 2020-03-27 13:02 Maple_feng 阅读(785) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-03-25 15:24 Maple_feng 阅读(2) 评论(0) 推荐(0)
摘要: 一、钉钉代码 import dingtalk.api import requests class DingDingAPI(): def __init__(self, appkey, appsecret): self.appkey = appkey self.appsecret = appsecret 阅读全文
posted @ 2020-03-19 13:12 Maple_feng 阅读(16692) 评论(18) 推荐(1)
摘要: 一、代码 由于企查查有ip查询次数限制,多次查询后会要求登入账号,之后再出登入账号后的查询 import selenium.webdriver from selenium.webdriver.chrome.options import Options url = "https://www.qicha 阅读全文
posted @ 2020-03-12 11:00 Maple_feng 阅读(1915) 评论(0) 推荐(0)
摘要: 一、介绍 在使用openpyxl读取已损坏的excel,此时你想删除此excel新建一个,但你会发现删除不掉,提示excel正在被另一个程序读取中。 原因是当你的主线程用openpyxl读取excel失败时,它没有释放此读取资源,办法是用一个子线程去测试读取,如果有错误就让主线程去删除文件 二、代码 阅读全文
posted @ 2020-03-06 10:54 Maple_feng 阅读(1257) 评论(0) 推荐(0)
摘要: 一、前提 1.创建一个自己的机器人应用,获取appid,appsecret,使用这两个获取token 2.创建一个聊天群,将机器人添加到群内:https://open.feishu.cn/document/uYjL24iN/uYTMuYTMuYTM 二、代码 import requests clas 阅读全文
posted @ 2020-03-01 15:31 Maple_feng 阅读(7766) 评论(0) 推荐(0)
摘要: 一、介绍 由于头条现在采取了动态js渲染的反爬措施,还有其他各种js加密反爬,使用简单的requests非常困难 Puppeteer 是 Google 基于 Node.js 开发的一个工具,有了它我们可以通过 JavaScript 来控制 Chrome 浏览器的一些操作,当然也可以用作网络爬虫上,其 阅读全文
posted @ 2020-02-23 22:21 Maple_feng 阅读(2941) 评论(2) 推荐(1)
上一页 1 2 3 4 5 6 7 8 9 ··· 30 下一页