摘要:
import pandas as pd from netaddr import * def ip_guihua(): ip_host_list_ipv4_1 = [] ip_host_list_ipv4_2 =[] ip_host_list_ipv6_1 = [] ip_host_list_ipv6 阅读全文
摘要:
字符 \ : 特殊字符、转义字符 ^: 正则表达式的开始 $: 正则表达式的结束 *: 等于{0,},即0到多 +: 等于{1,},即1到多 ?: 等于{0,1},即0到1 {n}:匹配确定的次数,n次 {n,}:匹配大于n的次数,等于n* {n,m}: 匹配大于n,小于m的次数 . : 匹配除“\ 阅读全文
摘要:
import netaddr from netaddr import * import pandas as pd import streamlit as st from concurrent.futures import ThreadPoolExecutor import subprocess im 阅读全文
摘要:
import netaddrfrom netaddr import *import pandas as pdimport streamlit as stfrom concurrent.futures import ThreadPoolExecutorimport subprocessimport s 阅读全文
摘要:
import PyPDF2from Crypto.Cipher import AESimport osdef remove_pdf_restrictions(): origi_path = r'C:\Users\yc\PycharmProjects\netmiko\丹凤相关\original_fil 阅读全文
摘要:
获取端口下的地址 描述 vlan arp mac等信息Value PORT (\S+)Value IP (\S+)Value mask (\S+)Value mac (\S+)Value vlan (.*)Value type (\S+)Value descr (.*)Start ^.*MAC\s+ 阅读全文
摘要:
import img2pdf import os class pdf: def __int__(self): pass # 生成到一个pdf里面 def from_all_photo_to_1pdf(self): photo_path = r'C:\Users\17160\PycharmProjec 阅读全文
摘要:
import pandas as pd class pandas(): def __int__(self): pass def creat_dataframe(self): data = {"a":[1,2] , "b":["test1","test2"]} # 使用字典加列表的形式创建datafr 阅读全文
摘要:
import pandas as pd import ipaddress import streamlit as st class compute: def __init__(self): st.title(':red[Welcome] :sunglasses:') # 创建title,可以链接 s 阅读全文
摘要:
from concurrent.futures import ThreadPoolExecutorimport netmikoimport osfrom threading import Lockimport pandas as pdfrom textfsm import TextFSMimport 阅读全文