- 博客(3)
- 收藏
- 关注
原创 火狐浏览器This address is restricted.端口问题
火狐浏览器This address is restricted. This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.在火狐浏览器一些网址打不开并出现解决办法:在火狐浏览器地址栏输入:about:config回车出现:点击蓝色按钮,然后在搜索栏输入:ne
2021-05-27 20:10:10
2436
原创 python不同格式日期和系统时间的比较
def compare_date(time_get): #用于直接比较网页日期与当前系统日期'''time_get:你需要用来与当前系统日期来比较的日期,可能来自于网页爬虫之类的(可以是中文格式:20年12月24日)''' stp = time.strftime('%Y-%m-%d') stp_list = re.findall(r"\d+\.?\d*",stp) #将当前系统日期转换为list = ['20','12','24'] time_getlist = re.fi.
2020-12-24 12:42:34
532
3
原创 安装了还是报错ModuleNotFoundError: No module named ‘oss2‘
安装了还是报错ModuleNotFoundError: No module named 'oss2'使用python-sdk上传阿里云OSS,报错ImportError: No module named oss2那我们一般是用pip install oss2然后再次运行,明明安装了oss2是报错:ImportError: No module named oss2那是由于阿里云的python-sdk只支持python3.6及一下,若是你是3.7或以上,那么就切换到python环境到3.6及以下
2020-12-24 12:27:12
3893
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人