1.AttributeError: module 'urllib.response' has no attribute 'read' 代码: res=urllib.response.read().decode('UTF-8')#读取网页内容,用utf-8解码成字节 1) python3中应该 imp ...
分类:
其他好文 时间:
2020-05-25 19:32:09
阅读次数:
61
package com.ytd.ebos.platform.zjmb.controller; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import ja ...
分类:
其他好文 时间:
2020-05-25 19:26:31
阅读次数:
75
ansible step: 问题2:(由于安装的python3.6.4,想默认使用pip3.6安装requirements) 根据官方文档,错误是 executable无法和virtualenv 2个parameters并行 https://docs.ansible.com/ansible/late ...
分类:
其他好文 时间:
2020-05-25 19:14:17
阅读次数:
58
在所需目录下打开终端窗口: 输入python3 -m http.server 8000 然后在浏览器下,输入网址例如:192.168.100.54:8000,你就可以看到目录文件了。当然本地也可以看到了如:0.0.0.0:8000 此时我就可以如果登陆一台服务器,安装一个python,然后启动服务, ...
分类:
其他好文 时间:
2020-05-25 15:32:55
阅读次数:
104
redis5.0.9哨兵模式redis-sentinel
分类:
其他好文 时间:
2020-05-25 15:20:00
阅读次数:
73
需要idea先配置git: File --> Setting --> Version Control > Git 设置path to git executable 设置git.exe 位置:D:\Dev\Program\Git\bin\git.exe ...
分类:
其他好文 时间:
2020-05-25 12:07:25
阅读次数:
72
问题:Oracle用户登陆报错archiver error. connect internal only,until freed 原因: db_recovery_file_dest(数据默认存储日志的文件夹)目录存储超过了设置的大小,调整db_recovery_file_dest_size 解决:登 ...
分类:
其他好文 时间:
2020-05-25 10:54:03
阅读次数:
55
Python中操作字符串之replace()方法的使用: https://www.jb51.net/article/66360.htm python3排序 sorted(key=lambda): https://www.cnblogs.com/zle1992/p/6271105.html ...
分类:
编程语言 时间:
2020-05-25 10:50:46
阅读次数:
65
```python # -*- coding:utf8 -*- import os class BatchRename(): """ 批量重命名文件夹中的图片文件 """ def __init__(self): self.path = 'D:\MyData\zhaohz4\Desktop\MIdea... ...
分类:
其他好文 时间:
2020-05-25 09:45:10
阅读次数:
59
结果部署是机器学习的最后一步。 选定算法之后,对算法训练生成模型,并部署到生产环境上,以便利用机器学习解决实际问题。 模型生成之后,也需要定期对模型进行更行,是模型处于最新,最有效的状态,通常建议3-6月更新一次模型。 生成的模型序列化之后,当有新的数据出现时,需要反序列化已保存的模型,然后用其预测 ...
分类:
系统相关 时间:
2020-05-25 09:32:16
阅读次数:
64