![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
zoudingrong
这个作者很懒,什么都没留下…
展开
-
python 爬虫
python beautifulsoup原创 2023-03-01 11:14:23 · 313 阅读 · 0 评论 -
selenium
selenium 爬虫原创 2023-02-21 09:32:22 · 47 阅读 · 0 评论 -
python 视频文件转mp3
python 视频转mp3原创 2022-11-21 18:50:34 · 313 阅读 · 0 评论 -
python 飞机大战
import pygame from random import randint import random pygame.init() screen = pygame.display.set_mode((480, 700)) done = False class Plane(): def __init__(self,x,y,imagefile): self.x=x self.y=y image=pygame.image.load(imagefil.原创 2021-10-12 14:36:20 · 534 阅读 · 0 评论 -
flask 导入导出环境
导出: pip freeze > requirement.txt 导入: pip install -r requirements.txt原创 2021-09-16 10:09:41 · 226 阅读 · 0 评论 -
python
下载图片 #下载图片 url='https://pic1.zhimg.com/v2-d4c00732d3795be86ef5140e0d5f3747_1440w.jpg' import requests res=requests.get(url) with open("abc.jpg",'wb') as f: f.write(res.content) 读取文件目录 os.path.listdir(r'C:\\Users\zty\Desktop\引智\完整数据\data\don...原创 2021-07-06 10:37:07 · 94 阅读 · 0 评论 -
python 下载视频 之 you-get 模块
安装 pip install you-get import sys import you_get def download(url, path): sys.argv = ['you-get', '-o', path, url] you_get.main() if __name__ == '__main__': # 视频网站的地址 for i in range(1,11): url = "https://www.bilibili.com/v...原创 2020-12-13 08:54:41 · 447 阅读 · 0 评论