#coding:utf-8 import socket import threading import time class SkPort(threading.Thread): d…
#!/usr/bin/env python #coding=utf-8 import os dir = '.' dirApp = "%s\Data" % dir file_type…
#_*_encoding:utf-8_*_ #script for python3.2 #---------------------------------------------…
#!/usr/bin/env python while True: year=raw_input('please input a year: ') a= int(year) if …
# -*- coding: utf-8 -*- import urllib import urllib2 import re import sys # reload(sys) # …
#-*- encoding: utf-8 -*- import logging import sys import os import pygame from pygame.loc…
用python写的小程序,可以用这个程序在固定的目录之间来回的拷贝. copy one directory to another directory @author: ''' im…
''''' Bubble Sort @author: aihua.sun ''' import string import random number = []; count = …
python模拟Get请求保存网易歌曲的url 作者:vpoet 日期:大约在夏季 #coding:utf-8 import requests import json url = …
import pcap import binascii a = pcap.pcap() a.setfilter('arp') for i,j in a: if binascii.h…
class Tobj(object): def __init__(self, serial, val=0): self.serial = serial self.val = val…