1.如何添加键值对 d.add key,values 在本地窗口中只能看到key,看不到value 2.keys方法 k=d.keys将会返回一个数组,数组的内容是所有的键 i=d.keys(1)将会返回位于1处的键或者用i=application.index(d.keys,1) 3.items方法 ...
分类:
编程语言 时间:
2020-03-26 23:06:36
阅读次数:
119
效果: body{ margin: 0px; height:100%; width:100%; background-image: url("bg.png"); background-position-x: 0px; background-position-y: 0px; background-re ...
分类:
其他好文 时间:
2020-03-25 23:36:35
阅读次数:
87
A.14 MySQL 5.7 FAQ: Replication In the following section, we provide answers to questions that are most frequently asked about MySQL Replication. A.14 ...
分类:
数据库 时间:
2020-03-25 14:54:42
阅读次数:
79
Petya has a rectangular Board of size n×mn×m . Initially, kk chips are placed on the board, ii -th chip is located in the cell at the intersection of ...
分类:
其他好文 时间:
2020-03-25 01:05:14
阅读次数:
81
SSL证书去除私钥密码保护 发表评论 A+ 所属分类:安全 如何判断私钥是有密码保护的? 私钥文件用文本编辑器打开,如果私钥文件是如下样式,则说明该私钥是已加载密码保护的: PKCS#8 私钥加密格式 1 2 3 BEGIN ENCRYPTED PRIVATE KEY ......BASE64 私钥 ...
分类:
其他好文 时间:
2020-03-25 00:59:22
阅读次数:
189
//1、add(Object e) //2、size() //3、addAll(Collection col1); //4、isEmpty() : 判断当前集合是否为空 //5、clear() 清空集合元素 //6、contains(Object obj) 方当前集合中是否包含obj //7、con ...
分类:
其他好文 时间:
2020-03-24 23:32:07
阅读次数:
64
List中除了从Collection结合继承的方法外,List集合里添加了一些根据索引来操作集合的 方法 List的常用方法 1、 void add(int index,Object ele) 2、 Boolean addAll(int index,Collection eles) 3、 Objec ...
分类:
其他好文 时间:
2020-03-24 22:55:03
阅读次数:
75
在学习python的时候,会有一些梗非常不适应,在此列举列表删除和多重循环退出的例子:列表删除里面的坑比如我们有一个列表里面有很多相同的值,假如:nums=[1,6,6,3,6,2,10,2,100],我想去掉6,可以这样写:nums=[1,6,6,3,6,2,10,2,100]forninnums:ifn==6:nums.remove(n)nums.sort()print(nums)#输出结果:
分类:
编程语言 时间:
2020-03-24 21:34:57
阅读次数:
77
一、先编写一个高亮样式 1 .btnCss { 2 background-color: #F6F6F6; 3 color: #000000; 4 } 5 6 .upBtnCss { 7 background-color: #FD8D27; 8 color: #ffffff; 9 } 二、html < ...
分类:
其他好文 时间:
2020-03-24 12:45:17
阅读次数:
148
Collection学习之tuple及namedetuple,总结输出: 一、tuple 1.1特点 是元组,元素个数具有不可变性,不能对其中元素值进行修改,但如果元素是可变的list除外,但通常不建议这么使用; 可迭代iterable,即可以一一遍历其中的元素; 可拆包,即可位置提取其中的元素使用 ...
分类:
编程语言 时间:
2020-03-24 10:57:25
阅读次数:
64