12 2021 档案

摘要:参考资料: https://www.jianshu.com/p/2c72f20b87cf 酷狗音乐API 酷狗音乐搜索api http://mobilecdn.kugou.com/api/v3/search/song?format=json&keyword=分分钟需要你 http://songsea 阅读全文
posted @ 2021-12-29 11:46 NPC_P 阅读(843) 评论(0) 推荐(0) 编辑
摘要:def download(song_id,text): try: url = 'http://music.163.com/song/media/outer/url?id=' + str(song_id) response = requests.get(url) content = response. 阅读全文
posted @ 2021-12-28 22:15 NPC_P 阅读(408) 评论(0) 推荐(0) 编辑
摘要:参考文: https://blog.csdn.net/fei347795790/article/details/111164254 Python实现自动发送B站直播弹幕软件 https://blog.csdn.net/fzq13994952987/article/details/100861372 阅读全文
posted @ 2021-12-28 21:43 NPC_P 阅读(2996) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://www.cnblogs.com/xiao987334176/p/13535646.html https://blog.csdn.net/qq_21570029/article/details/83185168 https://blog.csdn.net/qq_417992 阅读全文
posted @ 2021-12-28 11:15 NPC_P 阅读(1245) 评论(0) 推荐(0) 编辑
摘要:参考转载: https://www.dazhuanlan.com/langwirter/topics/1462147 https://www.jianshu.com/p/cdea3ba63cd7 from PIL import ImageFont from PIL import Image from 阅读全文
posted @ 2021-12-27 11:55 NPC_P 阅读(151) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://zhuanlan.zhihu.com/p/27047417 1.用OpenCV OpenCV的imread()只能加载本地的图片,并不能通过网址加载图片。但是,opencv的VideoCapture类可以从url加载视频。如果只用opencv的话,我们可以一个迂回的方式: 阅读全文
posted @ 2021-12-27 10:35 NPC_P 阅读(317) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://blog.csdn.net/dcrmg/article/details/102963336 from PIL import ImageFont from PIL import Image from PIL import ImageDraw # 随机生成图片颜色 color 阅读全文
posted @ 2021-12-27 10:31 NPC_P 阅读(153) 评论(0) 推荐(0) 编辑
摘要:腾讯官方获取qq用户头像照片API http://q1.qlogo.cn/g?b=qq&nk=2714494640&s=100 参数说明: | 参数 | 描述 | | | | | b | 固定参数'qq' | | nk | 请求的QQ号 | | s | 图片尺寸见下表 | 头像尺寸: | s/spe 阅读全文
posted @ 2021-12-27 09:35 NPC_P 阅读(3952) 评论(0) 推荐(0) 编辑
摘要:import requests import json def qmusic(): # 搜索api url = 'https://c.y.qq.com/soso/fcgi-bin/client_search_cp?aggr=1&cr=1&flag_qc=0&p=1&n=1&w=' MusicName 阅读全文
posted @ 2021-12-26 17:13 NPC_P 阅读(569) 评论(0) 推荐(0) 编辑
摘要:from PIL import Image def Clipper(): img = Image.open('./001.PNG') width, height = img.size print(width,height) img.show() box = (500, 500, 2500, 1500 阅读全文
posted @ 2021-12-26 17:10 NPC_P 阅读(174) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.jianshu.com/p/ebe52d2d468f Markdown语法大全(超级版) https://jingyan.baidu.com/article/ed15cb1b98ddbc1be3698187.html Markdown常用命令(1) https:/ 阅读全文
posted @ 2021-12-26 15:48 NPC_P 阅读(31) 评论(0) 推荐(0) 编辑
摘要:import json import requests def Translate(): try: url = "http://fanyi.youdao.com/translate" msg = "需要翻译的内容" params = { 'doctype': 'json', 'type': 'AUT 阅读全文
posted @ 2021-12-26 14:55 NPC_P 阅读(756) 评论(0) 推荐(0) 编辑
摘要:相关地址: api合集 https://www.free-api.com/ 有哪些好玩的免费的API接口? https://www.zhihu.com/question/32225726 野生API文档 不断更新中.... https://github.com/SocialSisterYi/bili 阅读全文
posted @ 2021-12-26 10:54 NPC_P 阅读(3102) 评论(0) 推荐(1) 编辑
摘要:声明:本文是在参考文上的继承,和自己使用过程中相关的补充 参考资料:(这些参考文都非常棒) https://blog.csdn.net/panrenlong/article/details/79959069【表格创建】 https://www.zhaokeli.com/article/7986.ht 阅读全文
posted @ 2021-12-06 15:01 NPC_P 阅读(751) 评论(0) 推荐(0) 编辑
摘要:吐槽一句:现在看见红下波浪线立刻血压飙升,慌的一批 PIL简介: 1.处理图片的库,现在是官方库了,现在的版本不需要安装了(远古版本除外) 2.好像openCV也不错,但是那个库没怎么用过 3.在现在互联网数据中图片的交流最直接可观,pil的可用性非常好 方法:(pil的方法很多,这里只记录自己最近 阅读全文
posted @ 2021-12-01 23:22 NPC_P 阅读(641) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示