解包: d = {"username":"admin","password":"123456"}print(d.items())# [('username', 'admin'), ('password', '123456')]for k,v in d.items(): print(k,v)递归 #函 ...
分类:
编程语言 时间:
2021-05-04 15:37:45
阅读次数:
0
这里介绍两个常用的管理hadoop集群的脚本 hadoop集群启停脚本myhadoop.sh #!/bin/bash if [ $# -lt 1 ] then echo "No Args Input..." exit ; fi case $1 in "start") echo " 启动 hadoop ...
分类:
其他好文 时间:
2021-05-04 15:28:54
阅读次数:
0
python中拆分字符串 1、 >>> test1 = "abxcdxefxfh" >>> test1 'abxcdxefxfh' >>> test1.split(sep = "x") ['ab', 'cd', 'ef', 'fh'] ...
分类:
编程语言 时间:
2021-05-04 15:23:41
阅读次数:
0
首先我们一览flask的源码结构 total 92 drwxr-xr-x. 2 root root 70 Mar 4 22:42 artwork -rw-r--r--. 1 root root 47000 Mar 4 22:42 CHANGES.rst -rw-r--r--. 1 root root ...
分类:
其他好文 时间:
2021-05-03 13:01:10
阅读次数:
0
Prefix and Suffix Search (H) 题目 Design a special dictionary which has some words and allows you to search the words in it by a prefix and a suffix. Im ...
分类:
其他好文 时间:
2021-05-03 12:54:25
阅读次数:
0
package com.czf.blob; import com.czf.util.JDBCUtils; import org.junit.Test; import java.sql.Connection; import java.sql.PreparedStatement; /** * 使用Pre ...
分类:
其他好文 时间:
2021-05-03 12:52:05
阅读次数:
0
官方提供了docker-compose 的运行模式 环境准备 docker-compose 文件 version: "3" services: cubestore_router: restart: always image: cubejs/cubestore:latest environment: ...
分类:
其他好文 时间:
2021-05-03 12:43:52
阅读次数:
0
/* 写一个计算器,要求实现加减乘除功能, 并且能够循环接收新的数据,通过用户交互实现 分析:写四个方法加减乘除 利用循环加switch进行用户交互 传递需要操作的两个数 输出结果 */ public class Demo05 { //加法 public static double add(doub ...
分类:
编程语言 时间:
2021-05-03 12:41:29
阅读次数:
0
接口自动化测试 node --version nodejs版本信息 npm install -g newman 安装newman newman --version 输出newman版本信息 newman run d:\test.json 运行postman文件 postman软件网址: https: ...
分类:
其他好文 时间:
2021-05-03 12:27:06
阅读次数:
0
Mysql性能调优(三) 前言 最近的文章均是给大家介绍mysql的性能优化,前两篇文章我们分别介绍了索引的相关知识,主要包括:索引的基本概念、引用索引的优缺点、索引的底层结构、索引的分类以及应用索引的设计原则及其语法。接下来的文章又介绍了视图以及触发器,分别介绍视图以及触发器的概念、创建、修改以及 ...
分类:
数据库 时间:
2021-05-03 12:24:18
阅读次数:
0