码迷,mamicode.com
首页 >  
搜索关键字:level    ( 6507个结果
向word文档里增加标题,分页,图片
from docx import Document word=Document() word.add_heading('一级标题',level=1) #增加一级标题 p1=word.add_paragraph('这是第一段') p2=word.add_paragraph('这是第二段') p3=wo ...
分类:其他好文   时间:2020-06-05 23:16:52    阅读次数:99
netmiko & huawei
from netmiko import ConnectHandlerimport logginglogging.basicConfig(filename="test.log", level=logging.DEBUG)huawei = {'device_type': 'huawei', 'ip': ...
分类:Web程序   时间:2020-06-05 22:36:46    阅读次数:167
102. 二叉树的层序遍历
给你一个二叉树,请你返回其按 层序遍历 得到的节点值。 (即逐层地,从左到右访问所有节点)。 示例:二叉树:[3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7返回其层次遍历结果: [ [3], [9,20], [15,7]] /** * Definition f ...
分类:其他好文   时间:2020-06-05 21:13:11    阅读次数:52
html element and list
Block element Block elements, or block-level elements, have a rectangular structure. By default, these elements will span the entire width of its pare ...
分类:Web程序   时间:2020-06-05 21:12:41    阅读次数:89
log4j2 扩展日志级别,支持将系统日志与业务处理日志拆分(转)
项目中,有时候需要对系统中已处理的一些业务数据日志进行提取分析,通常log4j默认提供的日志级别可能不够用,这时候我们就需要对日志级别进行扩展,以满足我们的需求. 本文就简单介绍一下log4j2的日志级别扩展,直接上代码 import org.apache.logging.log4j.Level; ...
分类:其他好文   时间:2020-06-05 13:27:36    阅读次数:94
python 日志打印
python 日志输出级别import logging logging.basicConfig(level=logging.DEBUG,format=’%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s’,datef ...
分类:编程语言   时间:2020-06-05 11:37:06    阅读次数:63
ansible分发日志清理脚本
日志清理目前覆盖58台服务器如下 此处省略 #!/bin/sh . /etc/rc.d/init.d/functions currTime=$(date +"%Y-%m-%d %T") logpath=/home/local/logs TarlogPath=/data/home/deploy/out ...
分类:其他好文   时间:2020-06-05 10:31:39    阅读次数:81
PTA(Basic Level) 1002
1002 写出这个数 (20分) 读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 输入格式: 每个测试输入包含 1 个测试用例,即给出自然数 n 的值。这里保证 n 小于 10的100次方。 输出格式: 在一行内输出 n 的各位数字之和的每一位,拼音数字间有 1 空格,但一行 ...
分类:其他好文   时间:2020-06-05 00:55:23    阅读次数:75
Linux-find用法
find 格式: find [OPTION] .... [查找路径] 查找条件 处理动作 查找路径:可以指定具体的路径,默认是当前路径 查找条件:用来指定文件查找的标准,可以是文件名、大小、权限、类型等等 处理动作:对符合条件的文件进行的操作,默认是直接输出到屏幕上 查找条件 按照名称来搜索: 可以 ...
分类:系统相关   时间:2020-06-05 00:45:47    阅读次数:80
A Deep Dive into Rescalable State in Apache Flink
An Intro to Stateful Stream Processing At a high level, we can consider state in stream processing as memory in operators that remembers information a ...
分类:Web程序   时间:2020-06-04 21:20:14    阅读次数:74
6507条   上一页 1 ... 26 27 28 29 30 ... 651 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!