12 2020 档案

摘要:产品新版本使用的GEOIP库,IP的格式是数字格式,不方便查看,所以做一下转换。 import osfrom IPy import IPimport csv def str_2_ipv4(ipstr): nums=int(ipstr) str_ip = str(IP(nums)) return st 阅读全文
posted @ 2020-12-17 18:12 1234roro 阅读(231) 评论(0) 推荐(0) 编辑
摘要:【SR】 1、理论:https://www.cnblogs.com/dream397/p/13525766.html 2、配置:https://support.huawei.com/enterprise/zh/doc/EDOC1100055073/af521542 【SRV6】 1、理论:https 阅读全文
posted @ 2020-12-16 17:37 1234roro 阅读(150) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*-# 查找不同元素 from string import maketrans #使用maketrans,将字符串中的";"翻译为","intab = ";"outtab = ","trantab = maketrans(intab,outtab) #待对比 阅读全文
posted @ 2020-12-11 14:16 1234roro 阅读(123) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示