python
大官人很忙
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Pycharm的一些配置(备忘)
一、配置文件和代码模板 .py文件的模板配置 打开Pycharm的File-->Settings--->Editor-->Code Style-->File and Code Templates,选中“Python Scripts”,在头部添加 # -*- coding: utf-8 -*- # @File : ${NAME}.py # @Date : ${DATE} ${TIME} # @Author : Name # @Version : 1.0 ...原创 2020-05-09 14:46:43 · 347 阅读 · 0 评论 -
yaml.load()从5.1版本之后不再推荐使用
yaml升级到5.3版本之后,使用yaml.load()会有警告信息。 YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. ...原创 2020-02-20 20:18:03 · 7758 阅读 · 2 评论 -
Webdriver下载地址(备份)
Chrome driver下载地址:https://chromedriver.storage.googleapis.com/index.html Edge driver下载地址:https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads IE driver下载地址:http://selenium...原创 2020-02-13 18:02:21 · 698 阅读 · 0 评论 -
Python获取网络图片的宽高
# -*- coding: utf-8 -*- from io import BytesIO from PIL import Image import requests def get_remote_pic_size(url): response = requests.get(path) image = Image.open(BytesIO(response.content)...原创 2019-11-27 09:35:02 · 812 阅读 · 0 评论
分享