django+vue
摘要:django安装配置方式略过 django安装配置方式略过 django安装配置方式略过 django安装配置方式略过 1、安装node.js,官网地址:https://nodejs.org/zh-cn/download/ 2、cd到项目目录下,执行npm install -g vue-cli 3、
阅读全文
python pymysql.err.InternalError: (1366, "Incorrect string value: '\\xE9\\x9F\\xA9\\xE6\\xA2\\x85...
摘要:python3使用pymysql报错: image.png 代码: #插入数据 try: sql = 'INSERT INTO classb (a_id,name,age) VALUES (6,"韩",12)' cur.execute(sql) except Exception as e: prin
阅读全文
tar解压指定文件
摘要:import tarfileimport sys#tar = tarfile.open('/opt/platform-omp/omp.tar.gz','r')tar = tarfile.open(r'C:\Users\Administrator\Desktop\omp.tar.gz','r')pat
阅读全文
ftp操作
摘要:# coding: utf-8from ftplib import FTPimport timeimport tarfileimport osclass MakeFTP(): def __init__(self,host, username, password): self.ftp = FTP()
阅读全文
结合jira搭建自动化测试平台
摘要:mysql 语句查看 python manage.py sqlmigrate your_app_name 0001 代码如下 #coding=utf8 #https://jira.readthedocs.io/en/latest/jirashell.html from jira import JIR
阅读全文
安装YApi 接口管理平台
摘要:yum install mongodb git clone https://gitee.com/mirrors/YApi.git 如果提示找不到yapi命令,按下面的处理 [root@jhkj66 home]# npm install -g yapi-cli --registry https://r
阅读全文
Django 连接mysql数据库中文乱码
摘要:Django 连接mysql数据库中文乱码 2018年08月25日 20:55:15 可乐乐乐乐乐 阅读数:566 Django 连接mysql数据库中文乱码 2018年08月25日 20:55:15 可乐乐乐乐乐 阅读数:566 Django 连接mysql数据库中文乱码 Django 连接mys
阅读全文
在django admin中添加自定义视图
摘要:来自https://blog.csdn.net/qq_35753140/article/details/84881757 来自https://blog.csdn.net/qq_35753140/article/details/84881757 来自https://blog.csdn.net/qq_3
阅读全文
django 模型models
摘要:1. django 模型models 常用字段 1、models.AutoField 自增列 = int(11) 如果没有的话,默认会生成一个名称为 id 的列 如果要显式的自定义一个自增列,必须设置primary_key=True。 自增列 = int(11) 如果没有的话,默认会生成一个名称为
阅读全文
用户行为分析数据库设计
摘要:来自 https://blog.csdn.net/change_on/article/details/75529369
阅读全文
vCenter Server 6 Standard
摘要:准备环境和工具: 软件下载地址 链接: https://pan.baidu.com/s/1hVH4yXhSQ4xYMqGIXWjNIQ 密码: id1j vCenter Server 6 Standard HG612-FH19H-08DL1-V19X2-1VKND NU4JA-4V2DQ-48428
阅读全文