摘要: 去掉桥接网卡的DNE ligth.然后重启系统。 阅读全文
posted @ 2020-09-28 23:44 Ylz365 阅读(105) 评论(0) 推荐(0)
摘要: >>> round(3.400),round(3.5000),round(3.600) (3, 4, 4) >>> round(2.400),round(2.5000),round(2.600) (2, 2, 3) >>> round(2.400),round(2.5001),round(2.600 阅读全文
posted @ 2020-09-21 22:19 Ylz365 阅读(166) 评论(0) 推荐(0)
摘要: >>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'} >>> print(type(basket)) <class 'set'> >>> xline = ['x1','x2','x3'] >>> print(typ 阅读全文
posted @ 2020-09-20 09:07 Ylz365 阅读(148) 评论(0) 推荐(0)
摘要: 引用: https://www.runoob.com/python3/python3-string.html Python3 字符串 字符串是 Python 中最常用的数据类型。我们可以使用引号( ' 或 " )来创建字符串。 [] 通过索引获取字符串中字符 a[1] 输出结果 e [ : ] 截取 阅读全文
posted @ 2020-09-19 22:39 Ylz365 阅读(92) 评论(0) 推荐(0)
摘要: 软件列表: 1,GNS3 2.2.13 2,Oracle VM VirtualBox 3,终端(如xshell) vm镜像文件: ova 下载: https://ccie.lol/ 步骤: 1,安装软件列表中所需软件 2,GNS关联后xshell 或其它终端软件,方便登录。 2,VirtualBox 阅读全文
posted @ 2020-09-06 23:41 Ylz365 阅读(714) 评论(0) 推荐(0)
摘要: re.match函数 re.match 尝试从字符串的起始位置匹配一个模式,如果不是起始位置匹配成功的话,match()就返回none re.M|re.I 指的位或。其值与相加一样,即同时满足re.M 与 re.I。因为底层flag的数值相加与位或的值一样,如 re.M 的数值于re.I 的数值 l 阅读全文
posted @ 2020-09-05 21:54 Ylz365 阅读(198) 评论(0) 推荐(0)
摘要: #import 自定义的库 import sys import os import ylz #import 自定义的库 xsh.Screen.Synchronous = True #True or False xsh.Dialog.MsgBox(str(sys.path)) #获取搜索路径,将ylz 阅读全文
posted @ 2020-09-05 10:13 Ylz365 阅读(449) 评论(0) 推荐(0)
摘要: https://www.runoob.com/python3/python3-basic-operators.html#ysf1 阅读全文
posted @ 2020-08-30 22:55 Ylz365 阅读(98) 评论(0) 推荐(0)
摘要: & 按位与(按位乘) >>> 9&1 1 >>>10010001 & 0001 | 按位或(按位加) >>> 8|3 11 #10进制1110000011 | 1011 >> 左移(相当于除以2的x次方), >>> 64>>3 #是以二进制数进行操作64=0o1000000,左移指把1向左移动3 为 阅读全文
posted @ 2020-08-26 22:39 Ylz365 阅读(123) 评论(0) 推荐(0)
摘要: 八进制 0o 16进制 0x 0x7F 7*161+15*160=127 二进制 1101 1*23+1*22+0*21+1*20=8+4+0+1=13 阅读全文
posted @ 2020-08-25 23:23 Ylz365 阅读(87) 评论(0) 推荐(0)