2011-09-01から1ヶ月間の記事一覧
何コレ? #! /usr/bin/env python # -*- coding: utf-8 -*- import sys import socket import struct import re type1 = re.compile(ur'([\d\.]+)\/(\d+)') # 192.168.0.1/24 type2 = re.compile(ur'([\d\.]+)\s+([\d\.]+)') # 192.168.0.1/ 255.255.255.0 a…