import javax.xml.bind.SchemaOutputResolver; public class demo03 { public static void main(String[] args) { //整数拓展; 进制 二进制0b 十进制 八进制0 十六进制0x int i=10; ...
分类:
其他好文 时间:
2021-06-07 20:12:14
阅读次数:
0
一、定义xml文件内容,既然是自定义则所有的根节点随便写 使用xml.dom.minidom三方模块对xml文件进行解析 from xml.dom.minidom import parse def getIP(machineNum): #读取xml文件 domTree = parse("./conf ...
分类:
编程语言 时间:
2021-06-07 20:09:27
阅读次数:
0
变量作用域 类变量 加关键值static 实例变量 从属于对象;如果不自行初始化,这个类型的默认值 局部变量 必须声明和初始化值 public class Variable { static double salary =2500; //类变量 String str="hello,world!";/ ...
分类:
其他好文 时间:
2021-06-07 20:09:00
阅读次数:
0
PyMysql连接数据库 防止sql注入 import pymysql ? ? def insertsql(): # 建立连接 connection_sql = pymysql.connect( host='localhost', port=3306, user='root', password=' ...
分类:
数据库 时间:
2021-06-07 20:05:01
阅读次数:
0
我们想在reudx代码间插入想要做的逻辑,其实就是中间件。 1.基本做法(假设已经配置好react-redux也就是store/index,addAction和subAction是action逻辑) 这样做简单但是调用起来很复杂 2.封装函数 3.在函数的基础上修改原有的dispatch 这就不会影 ...
分类:
其他好文 时间:
2021-06-06 19:47:41
阅读次数:
0
新建vue.config.js module.exports = { css: { loaderOptions: { sass: { // 全局引入变量和 mixin additionalData: ` @import "@/assets/scss/variable.scss"; @import " ...
分类:
Web程序 时间:
2021-06-06 19:40:33
阅读次数:
0
set @oldID='1';-- 你要删除的idselect device_type_ids, TRIM(BOTH ',' FROM REPLACE(CONCAT(',',device_type_ids,','),CONCAT(',',@oldID,','),',')) as New_ids fr ...
分类:
数据库 时间:
2021-06-06 19:39:39
阅读次数:
0
import java.awt.*;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;public class Test01 extends Frame { public static void main(St ...
分类:
其他好文 时间:
2021-06-06 19:35:03
阅读次数:
0
####出现错误 提示信息: router.beforeEach((to, from, next) => { if (!storage.getItem('userInfo')) { console.log('error') next({ path: '/login' }) } else { cons ...
分类:
其他好文 时间:
2021-06-06 19:32:40
阅读次数:
0
import yamailusername = "xxxxxx@qq.com"password = "xxxxxx"host = "smtp.qq.com"# host = "smtp.163.com" #163# host = "smtp.126.com" #qq# smtp.send(to="a ...
分类:
编程语言 时间:
2021-06-06 19:32:03
阅读次数:
0