上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页
摘要: import os def get_all_file(file_dir): all_file_list = [] for root, dirs, files in os.walk(file_dir): # root 表示当前正在访问的文件夹路径 # dirs 表示该文件夹下的子目录名list # f 阅读全文
posted @ 2020-10-03 23:37 3ξ 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 第一步:爬取照片: Teleport Ultra 用这个 第二步:筛选图片: import os def checkimg(url): from PIL import Image # url = "D://a.jpg" try: image = Image.open(url) if (image.s 阅读全文
posted @ 2020-10-03 23:26 3ξ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: https://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2020-10-01 13:40 3ξ 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 然后输入以下命令 python manage.py runserver 阅读全文
posted @ 2020-09-23 13:54 3ξ 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 在我百度云盘,软件吧,里面下载 正常安装完毕,试用,打开软件, 将jetbrains-agent.jar拖进去,按照提示操作。 然后输入密钥 然后就激活啦 阅读全文
posted @ 2020-09-23 13:45 3ξ 阅读(968) 评论(0) 推荐(0) 编辑
摘要: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 去找对应的python包 https://blog.csdn.net/yuejisuo1948/article/details/81043823 阅读全文
posted @ 2020-09-12 23:37 3ξ 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 先安装 pip install pyinstaller 如果打包以后说没有什么模块|那就加个参数 pyinstaller a.py --hidden-import=pyttsx3 pyinstaller -D -w -i ./favicon.ico hello.py pyinstaller -F m 阅读全文
posted @ 2020-09-11 22:16 3ξ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 地址: https://nodejs.org/en/ https://binaryify.github.io/NeteaseCloudMusicApi/#/ 参考上面博客的步骤: Clone项目:通过Git 将项目Clone 到本地 安装依赖:使用命令cd 进入克隆下来的项目里,安装依赖。也即对应官 阅读全文
posted @ 2020-09-11 20:55 3ξ 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 首先我们需要来到python官网 www.python.org/ 去找3.7版本去下载, 下载压缩包,好安装。 解压到E盘,直接给他配置环境变量就行 然后去黑窗口测试python,看是否配置成功 然后安装pycharm https://www.jetbrains.com/pycharm/downlo 阅读全文
posted @ 2020-09-11 18:01 3ξ 阅读(2475) 评论(0) 推荐(0) 编辑
摘要: class C(object): """ 为了不让用户直接访问属性,让他设置为私密的,然后让property去搞 """ def __init__(self): self._x = None @property def x(self): print("property") return self._ 阅读全文
posted @ 2020-09-01 21:58 3ξ 阅读(84) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页