pip install python-docx 1.批量化往word文件中添加大批量重复的数据 from docx import Document from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.shared import Pt #磅数 ...
分类:
编程语言 时间:
2020-07-28 00:24:17
阅读次数:
113
一、Thread 对象的其他属性或方法 1,介绍: Thread实例对象的方法 # isAlive(): 返回线程是否活动的。 # getName(): 返回线程名。 # setName(): 设置线程名。 threading模块提供的一些方法: # threading.currentThread( ...
分类:
编程语言 时间:
2020-07-27 23:42:38
阅读次数:
82
1. Redis Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。 它支持多种类型的数据结构,如 字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 与范围查询, bi ...
分类:
系统相关 时间:
2020-07-27 15:55:04
阅读次数:
89
1、const char _ 类型的实参与 char _ 类型的形参不兼容错误的解决方法_qinshiyang的博客-CSDN博客_e0167const char _ 类型的实参与 char _ 类型的形参不兼容.html(https://blog.csdn.net/qinshiyang/artic ...
分类:
其他好文 时间:
2020-07-26 23:19:19
阅读次数:
111
1.let <script> //1.声明变量 let a; let b,c,d; let e =100; let f=521,g='iloveyou',h=[]; //2.let变量不能重复定义 例 // let peope = 'bill' // let peope = 'jom' //会报错: ...
分类:
其他好文 时间:
2020-07-26 19:49:20
阅读次数:
86
首先咱们要明白一个道理就是,SharedPreferences其实就是一个存储工具,只需要知道怎么存,怎么获取就可以了。 如何存: 很明显需要我们声明一个SharedPreferences 比如SharedPreferences sp; 然后需要进行编辑,比如增删改查,就需要调用editor方法 S ...
分类:
其他好文 时间:
2020-07-26 19:47:50
阅读次数:
88
forEachRemaining()是java1.8新增的Iterator接口中的默认方法对于这个方法,官方文档是这么描述的:Performs the given action for each remaining element until all elements have been proce ...
分类:
其他好文 时间:
2020-07-26 00:20:40
阅读次数:
200
需求如下: 给选中的item添加一个select样式,并且生成一个下三角形 一、三角形的实现原理 宽度width为0;height为0;根据三角形的朝向设置上下左右的border,只能设置其中的三个边框,不用给朝向的那一边设置border。 (1)有一条横竖边(上下左右)的设置为border-方向: ...
分类:
Web程序 时间:
2020-07-26 00:09:24
阅读次数:
176
1.if 语句 object Test { def main(args: Array[String]) { var x = 10; if( x < 20 ){ println("x < 20"); } } } 结果 x < 20 2.if...else 语句 object Test { def ma ...
分类:
其他好文 时间:
2020-07-25 23:59:03
阅读次数:
120
nginx配置path_info,让codeigniter访问其它路由不是404 ...
分类:
其他好文 时间:
2020-07-25 23:26:57
阅读次数:
72