
python
weixin_44418748
这个作者很懒,什么都没留下…
展开
-
极智量化中遇见的错误 python调试需要看的
但是talib.ma() 这里需要float型数组。这个返回的是整型数组。原创 2022-11-18 12:31:45 · 953 阅读 · 1 评论 -
python 坑- 包安装错误 ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。:
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘C:\Users\Administrator\AppData\Roaming\Quant000150v9.5\Quant\Lib\site-packages\numpy\core\_multiarray_tests.cp37-win_amd64.pyd’Consider using the --user option or check the permissi原创 2022-05-10 00:38:52 · 835 阅读 · 0 评论 -
一个根据省份分类统计的程序
# 1. 导入模块import xlrdfrom datetime import date, datetimeimport xlwtarrayNum = 6# array = {'khbh': '', 'khjc': '', 'chmc': '', 'sl': '', 'price': '', 'jshj': ''}# array = ['客户编号', '客户简称', '存货名称', '数量', '含税单价', '价税合计']tables = []newTables = []原创 2021-10-12 04:31:35 · 163 阅读 · 0 评论 -
千聊 m8u文件读取下载视频
import requestsimport randomimport os# 查找字符串def findSubstrings(substrings,destString): res =destString.find(substrings) if res: return res slist=[]s2 =[]#################################################filename = '直播' ##原创 2021-05-01 07:32:55 · 2137 阅读 · 2 评论 -
分析 book118网页 并用 python爬取 徐磊800高频词
python爬取 book118 徐磊800高频词百度搜索 “徐磊800”搜索到book118 有这就找到所有的png图片了。然后就是计算机批量处理。取网页内容正则表达式提取数据把清洗后的图片链接存入 800o.txtimport requestsdef temp(wurl): ## 1找到url #url ="http://view-cach...原创 2019-12-08 00:05:25 · 1866 阅读 · 0 评论 -
python 使用cookies,用requests爬去淘宝页面
爬取淘宝搜索页面大学慕课《python网络爬虫与信息提取》的源代码具体代码如下找cookies大学慕课《python网络爬虫与信息提取》的源代码https://www.icourse163.org/learn/BIT-1001870001?tid=1206951268#/learn/content?type=detail&id=1211970252&cid=1215042973...原创 2019-10-28 14:35:31 · 993 阅读 · 0 评论