会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
levels of contents
niko5960
博客园
首页
新随笔
联系
管理
上一页
1
2
3
下一页
2023年4月6日
python-requests库文档学习
摘要: quickstart 英文文档:https://requests.readthedocs.io/en/latest/user/quickstart/ Passing Parameters In URLs在url中手动传递参数 payload = {'key1': 'value1', 'key2':
阅读全文
posted @ 2023-04-06 15:08 niko5960
阅读(182)
评论(0)
推荐(0)
2023年3月31日
redis-1,基础和十大数据类型
摘要: redis 十大数据类型 string 二进制安全 set 无序不重复数据 zset 有序不重复数据 list 双向链表 redis GEO 地理数据 HyperLogLog 基数统计 比如统计某网站访问量 不重复的数据就叫基数 bitmap 二维数组 bitfield 位域 stream 流 re
阅读全文
posted @ 2023-03-31 16:47 niko5960
阅读(67)
评论(0)
推荐(0)
pymongo 查询条件
摘要: mongo_conn = mongo['user'] 1.查询 a.查询所有:mongo_conn.find({}) b.单条记录查询:mongo_conn.find_one({'name': 'Mike'}) c.多条记录查询: 对于多条数据的查询,我们可以使用find()方法,例如在这里查找年龄
阅读全文
posted @ 2023-03-31 15:52 niko5960
阅读(306)
评论(0)
推荐(0)
2023年3月29日
Linux——定时任务crontab
摘要: 参考链接:https://blog.csdn.net/maxiaojingabc/article/details/128247864 ubantu安装 安装之前先更新 apt-get 更新的时候别轻易改下载源 apt-get upgrade 基本命令 安装:apt-get install cron
阅读全文
posted @ 2023-03-29 16:34 niko5960
阅读(43)
评论(0)
推荐(0)
2023年3月28日
http——状态码
摘要: 参考文档:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/100 100 Continue HTTP 100 Continue 信息型状态响应码表示目前为止一切正常,客户端应该继续请求,如果已完成请求则忽略。 101 Switchin
阅读全文
posted @ 2023-03-28 11:34 niko5960
阅读(29)
评论(0)
推荐(0)
vim使用
摘要: 末行模式 输入:进入末行模式 :w 保存 :q 退出 :wq 保存并退出 :q! 强制退出 :set nu 显示行数 :set nonu 取消显示行数 :w [文件名] 将内容保存到另一个文件 :2,5 w[文件名] 将内容的第2到5行保存到另一个文件 :r [文件名] 输入另一个文件的文件名 打开
阅读全文
posted @ 2023-03-28 09:31 niko5960
阅读(30)
评论(0)
推荐(0)
2023年3月27日
python 双下划线函数
摘要: 双下划线函数在相应函数调用实例的时候会自动调用 1,__repr__ class CLanguage: pass clangs = CLanguage() print(clangs) 当print调用时会自动调用repr函数,一般情况下输出的是一个对象的地址<__main__.CLanguage o
阅读全文
posted @ 2023-03-27 13:30 niko5960
阅读(174)
评论(0)
推荐(0)
2023年3月24日
pymongo官方文档学习
摘要: 111
阅读全文
posted @ 2023-03-24 17:30 niko5960
阅读(12)
评论(0)
推荐(0)
2023年3月23日
pdfplumber处理pdf文件
摘要: pdfplumber官方文档 https://github.com/hbh112233abc/pdfplumber 文档上对open方法的介绍 Loading a PDF To start working with a PDF, call pdfplumber.open(x), where x ca
阅读全文
posted @ 2023-03-23 14:50 niko5960
阅读(411)
评论(0)
推荐(0)
2023年3月17日
beautifulsoup文档学习
摘要: Beautifulsoup bs4中文文档:https://www.crummy.com/software/BeautifulSoup/bs4/doc.zh/#beautiful-soup-4-4-0 bs4英文文档:https://www.crummy.com/software/Beautiful
阅读全文
posted @ 2023-03-17 17:41 niko5960
阅读(126)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告