会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
疯陈演义
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
19
下一页
2021年11月5日
mt5获取双色球
摘要: string cookie=NULL,headers; char post[],result[]; string ssq=""; string url="http://kaijiang.zhcw.com/zhcw/html/ssq/list_1.html"; ResetLastError(); in
阅读全文
posted @ 2021-11-05 20:24 疯陈演义
阅读(89)
评论(0)
推荐(0)
2020年8月26日
获取数字货币行情
摘要: #获取数据货币行情 def get_szhb(): c = ['id','open','close','low','high','amount','vol','count'] df = pd.DataFrame(columns=c) url = 'https://api.huobi.pro/mark
阅读全文
posted @ 2020-08-26 12:55 疯陈演义
阅读(351)
评论(0)
推荐(0)
2020年6月14日
盘中打开涨停板
摘要: xuan=[] #构建自已的股票池 def build_my_stock(): #获取股票列表 df = pro.stock_basic(exchange='', list_status='L', fields='ts_code,symbol,name,area,industry,list_date
阅读全文
posted @ 2020-06-14 20:44 疯陈演义
阅读(378)
评论(0)
推荐(0)
2020年6月11日
从雪球网获取股票数据
摘要: def get_xueqiu_stock(): headers = {'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://xueqiu.com/p/ZH010389', 'User-Agent': 'Mozilla/5.0 (Window
阅读全文
posted @ 2020-06-11 18:58 疯陈演义
阅读(888)
评论(0)
推荐(0)
2020年5月30日
python进度条Progressbar 实例
摘要: from tkinter import * from tkinter import ttk import time def manu_increment(*args): for i in range(100): p1["value"] = i+1 root.update() time.sleep(0
阅读全文
posted @ 2020-05-30 09:54 疯陈演义
阅读(1202)
评论(0)
推荐(0)
2020年3月15日
通用32位CPU常用寄存器及作用
摘要: 32位CPU所含有的寄存器# 4个数据寄存器(EAX、EBX、ECX和EDX) 2个变址和指针寄存器(ESI和EDI) 2个指针寄存器(ESP和EBP) 6个段寄存器(ES、CS、SS、DS、FS和GS) 1个指令指针寄存器(EIP) 1个标志寄存器(EFlags) 数据寄存器# 数据寄存器主要用来
阅读全文
posted @ 2020-03-15 09:52 疯陈演义
阅读(1444)
评论(0)
推荐(0)
2020年1月7日
绘制K线
该文被密码保护。
阅读全文
posted @ 2020-01-07 19:49 疯陈演义
阅读(2)
评论(0)
推荐(0)
2020年1月6日
matplotlib完美中文显示
摘要: from sklearn.datasets import make_blobs, load_iris import matplotlib.pyplot as plt # 支持中文 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负
阅读全文
posted @ 2020-01-06 23:05 疯陈演义
阅读(656)
评论(0)
推荐(0)
2019年12月16日
解决网页抓取乱码问题
摘要: 解决: 导入gzip解压方法 import urllib.request from io import BytesIO import gzip url = 'http://www.mzitu.com' response = urllib.request.urlopen(url) html = response.read() print(html) buff = BytesIO(html) f ...
阅读全文
posted @ 2019-12-16 13:03 疯陈演义
阅读(545)
评论(0)
推荐(0)
2019年12月14日
获取带接口的股票数据
摘要: import urllib.request import re codeUrl = 'https://hq.gucheng.com/gpdmylb.html' #获取股票代码 def codeTolist(): codeList = [] html = urllib.request.urlopen(codeUrl).read() html = html.decode(...
阅读全文
posted @ 2019-12-14 20:44 疯陈演义
阅读(1164)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页
公告