- 博客(3)
- 收藏
- 关注
原创 codeblocks 中 右键run to curser 不见问题
这个可能是debugger类型的问题 在上方setting -> debugger 中 GDB/CDB debugger 的default debugger type 要改成 GDB 该了之后 nextline ,step into等功能也能用了.
2020-05-22 11:34:28
743
原创 利用B站API爬取多个视频的播放信息
B站有个Api,专门用来反馈视频的播放数,硬币数等信息 最后在工程文件夹生成一个txt文件 在scrapy中,修改pipline,item,spider简单实现,这里直接贴出代码。 from lxml import etree import json import time from tutoral.items import DmozItem def next_url(c,rnum): ...
2020-04-16 11:28:23
1083
原创 利用python建立多维随机数组的简单代码
https://blog.csdn.net/liangjiubujiu/article/details/82153095 创意源与上述博文 直接贴代码 import random base = [[random.randrange(1,6,1) for i in range(10)]for i in range(10)] print(base) 结果为 [[5, 1, 1, 1, 4, ...
2020-03-29 11:13:16
444
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅