Python
文章平均质量分 67
wunderup
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Telnet: Error opening terminal: network
Python telnet Error opening terminal: network ansi xterm原创 2010-12-10 12:57:00 · 1365 阅读 · 1 评论 -
python获取当前日期前后N天或N月的日期
<br />#!/usr/bin/python ''' Filename: "utildate.py" author: "zhangsong" date : "2009-03-24" version: "1.00" ''' from time import strftime, localtime from datetime import timedelta, date import calendar year = strftime("%Y",localtime()) mo原创 2010-11-16 17:18:00 · 1352 阅读 · 0 评论 -
python字符串操作(连接、比较、格式化等)
<br /> <!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;}原创 2010-11-17 09:22:00 · 791 阅读 · 0 评论 -
Scale IPSec config over cisco router
Cisco Router 的IPSec配置很复杂,如果需要生成多条tunnel的配置的时候,需要很大的工作量 简单写了一个脚本来生成,看看结果如何把 Limitation: 1. 支持IKEv2 2. 只能在Cisco IOS router上运行 3. Topology: site to site Benifit: 同时生成A和B两个router的配置,赞吧?原创 2016-05-12 14:48:42 · 721 阅读 · 0 评论 -
IPSec scale config script over Cisco Router
该脚本支持了SVTI模式的config scale from xml.dom import minidom from ftplib import FTP import telnetlib import sys import time import logging import os import re import platform import string class IPSecC原创 2016-05-23 16:32:53 · 810 阅读 · 0 评论
分享