/// <summary> /// 时间戳与DateTime互转 /// </summary> public class TicksTimeConvert { /* * 时间戳10位的是秒,13位的是毫秒 * * 1秒=1000毫秒 * 1毫秒=1000微秒 * 1微秒=1000纳秒,纳秒也叫毫微秒 ...
1、安装python3.5,git,PyQt5 , lxml 打开prompt,输入指令安装库: pip install PyQt5 pip install lxml 2、下载labelimg labelImg下载地址:https://github.com/tzutalin/labelImg.git ...
1.需要安装redis/rediscluster #!/usr/bin/env python3.7.4 # -*- coding:utf-8 -*- # # File: rds2rdsCluster.py # Project: 将单点redis的数据迁移到cluster # Author: Aven ...
分类:
其他好文 时间:
2020-09-23 23:56:52
阅读次数:
56
转自:https://blog.csdn.net/weixin_43064185/article/details/89534830 STR_TO_DATE(str,format)函数是将时间格式的字符串(str),按照所提供的显示格式(format)转换为DATETIME类型的值。DATE_FORM ...
分类:
数据库 时间:
2020-09-23 23:46:20
阅读次数:
48
.安装环境 系统版本:CentOS 7.4(自带Python2.7)安装版本:Python3.6安装插件:virtualenv、virtualenvwrapper 输入命令时,无需输入#号 一、安装Python3 查看python安装位置,一般是位于/usr/bin/python目录下。 # whi ...
分类:
其他好文 时间:
2020-09-23 23:05:14
阅读次数:
42
使用django_damin后台时,数据库没有自动生成django_admin_log,需要单独迁移文件admin应用pythonmanage.pymakemigrationsadminpythonmanage.pymigrateadmin报错如下:err.raise_mysql_exception(self._data)File"/usr/local/python36/lib/python3.6
分类:
其他好文 时间:
2020-09-21 12:14:22
阅读次数:
56
后端: 实体:AppointmentDto中的 startDate、endDate /** * 开始时间 */ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yy ...
分类:
其他好文 时间:
2020-09-18 04:07:58
阅读次数:
48
1. 走向深度:VGGNet 随着AlexNet在2012年ImageNet大赛上大放异彩后, 卷积网络进入了飞速的发展阶段, 而2014年的ImageNet亚军结构VGGNet(Visual Geometry Group Network) 则将卷积网络进行了改良, 探索了网络深度与性能的关系, 用 ...
分类:
Web程序 时间:
2020-09-18 02:21:26
阅读次数:
54
系统环境:CentOS7.6系统状态:关闭selinux、firewalld安装依赖包:[root@rhel7Python-3.8.0]#yuminstallzlib-develbzip2bzip2-develreadline-develsqlitesqlite-developenssl-develxzxz-devellibffi-devel(重启)一、下载python3.8版本[root@rhe
分类:
编程语言 时间:
2020-09-18 00:48:22
阅读次数:
44
常见问题 urllib.error.HTTPError: HTTP Error 403: Forbidden 有些服务器会拒绝非浏览器查看内容,此时需要添加headers参数,将爬虫程序伪装成浏览器 Chrome版本信息 地址:chrome://version/ 1 # coding: utf-8 ...
分类:
编程语言 时间:
2020-09-18 00:47:00
阅读次数:
39