上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 141 下一页
摘要: 一.pycharm常用配置在项目根目录配置.gitignore .gitignore *.xml *.iml *.pyc #所有后缀为xml,iml,pyc的文件,一般pycharm会自动生成这些文件 二..gitignore常用语法 #常用内容 /a/ 过滤整个a文件夹 *.zip 过滤所有.zi 阅读全文
posted @ 2020-08-18 20:41 小小咸鱼YwY 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 一.要点 爬虫被想太多,把他当做一个模拟别人的请求响应即可了,所有呢go写爬虫关键是写请求 二.get请求 package main import ( "bytes" "encoding/json" "io" "io/ioutil" "net/http" "time" ) func Get(url 阅读全文
posted @ 2020-08-18 20:14 小小咸鱼YwY 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 一.错误信息 File "D:\python\lib\site-packages\pymouse\__init__.py", line 92, in <module> from windows import PyMouse, PyMouseEvent ModuleNotFoundError: No 阅读全文
posted @ 2020-08-18 17:17 小小咸鱼YwY 阅读(2846) 评论(0) 推荐(0) 编辑
摘要: 1.首先粘贴图片的代码 img.paste(img5, img5_xy, img5) #img 对象上粘贴 img5 2.报错的解决方法 #打开图像的a通道 img = img.convert('RGBA') img5 = img5.convert('RGBA') 阅读全文
posted @ 2020-08-16 21:13 小小咸鱼YwY 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 发现怎么处理还是会有锯齿 一.一开始我的代码 def convert_image_to_circle(pic_path, outdir): ima = Image.open(pic_path).convert("RGBA") size = ima.size # 因为是要圆形,所以需要正方形的图片 r 阅读全文
posted @ 2020-08-13 16:06 小小咸鱼YwY 阅读(786) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 141 下一页