import zlib import websocket import json import redis import pymysql import time rds = redis.StrictRedis(host='10.10.6.83', port=6379, db=3, password= ...
分类:
编程语言 时间:
2021-06-18 19:59:07
阅读次数:
0
这个注解是java的,不是spring的。 Constructor(构造方法) -> @Autowired(依赖注入) -> @PostConstruct(注释的方法) package com.example.studySpringBoot.util; import com.example.stud ...
分类:
其他好文 时间:
2021-06-18 19:42:28
阅读次数:
0
Flask 安装插件 pip install flask-cors 使用 CORS函数配置全局路由 from flask_cors import * app = Flask(__name__) CORS(app, supports_credentials=True) from flask_cors ...
分类:
编程语言 时间:
2021-06-18 19:36:09
阅读次数:
0
一、简介 基于matlab GUI dwt与svd算法数字水印 二、源代码 function varargout = main(varargin) % MAIN M-file for main.fig % MAIN, by itself, creates a new MAIN or raises t ...
分类:
其他好文 时间:
2021-06-18 19:30:07
阅读次数:
0
1 #显示跑马灯文字 2 import os 3 import time 4 def main(): 5 content = str(input('输入显示内容:')) 6 while True: 7 os.system('cls') 8 print(content) 9 time.sleep(0. ...
分类:
其他好文 时间:
2021-06-18 19:20:19
阅读次数:
0
引入计数 在Python中,每个对象都有指向该对象的引用总数 引用计数 查看对象的引用计数:sys.getrefcount() import sys alist=['a','b','c'] >>> sys.getrefcount(alist) 2 >>> b=alist >>> sys.getref ...
分类:
编程语言 时间:
2021-06-18 19:16:12
阅读次数:
0
标准化训练 (StandardScalerTrainBatchOp) Java 类名:com.alibaba.alink.operator.batch.dataproc.StandardScalerTrainBatchOp Python 类名:StandardScalerTrainBatchOp 功 ...
分类:
其他好文 时间:
2021-06-18 19:15:48
阅读次数:
0
在指定目录下,模糊匹配搜寻目标文件,并得出目标文件的完整路径; 采用match完全匹配; #!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import ctypes import re if __name__==" ...
分类:
编程语言 时间:
2021-06-18 19:10:00
阅读次数:
0
vue前端随记 环境准备 下载并安装 Node.js 安装vue 环境 # 安装淘宝npm npm install -g cnpm --registry=https://registry.npm.taobao.org # vue-cli 安装依赖包 cnpm install --g vue-cli ...
分类:
其他好文 时间:
2021-06-18 18:50:46
阅读次数:
0
1 cors和csrf的区别2 路飞首页 -页面组件:设置一个路由,当在浏览器访问某个路径,就会显示这个页面组件 -头部组件 -轮播图组件 -页面跳转的两种方式 -<router-link :to='/home'>点我看美女</router-link> -js中写:this.$router.push ...
分类:
其他好文 时间:
2021-06-18 18:47:13
阅读次数:
0