首页 软件开发 代码片段 python ( Page 7 )

python 1073

#Python
模仿主站模板 首页 内页(想实现模板小偷)

#!/usr/local/bin/python #-*- coding: UTF-8 -*- #模仿主站模板 #QQ29295842 #######################…

2015-11-17 817

#Python
Python 实现半双工聊天器

#coding=utf-8 import socket #加载socket模块 from time import ctime #加载time模块ctime类 HOST = '' #…

2015-11-16 781

#Python
对比两个csv文件记录差异

# -*- coding:utf-8 -*- import csv import os class csvread(): def __init__(self,filename,ls…

2015-11-16 859

#Python
python集合C段IP筛选整理.py

""" python集合C段IP筛选整理.py 题目来源 http://www.bathome.net/thread-38037-1-2.html 依山居 7:51 2015/11…

2015-11-16 508

#Python
一个用于测试磁盘性能的 Python 代码

#!/usr/bin/python # -*- coding: utf-8 -*- filecount = 300000 filesize = 1024 import random…

2015-11-15 944

#Python
通信接口测试(json)

#!/usr/bin/env python # -*- coding:utf-8 -*- # File post.py import urllib import urllib2 i…

2015-11-15 646

#Python
文件夹常用操作

#_*_encoding:utf-8_*_ #-------------------------------------------------------------------…

2015-11-14 147

#Python
简单的rss阅读工具

#!usr/bin/env python # -*- coding:UTF-8 -*- import re from lxml import etree from bs4 impo…

2015-11-14 604

#Python
判断一个整数是否在一个二维数组中

# -*- coding:utf-8 -*- class Solution: # array 二维列表 def Find(self, array, target): if arra…

2015-11-13 314

#Python
统计多台linux的CPU使用率

#!/usr/bin/python # -*- coding:utf8 -*- # Email:chenwx716@163.com __author__ = 'chenwx' im…

2015-11-13 542

#Python
Python 发送带附件的email

from email.MIMEText import MIMEText from email.MIMEMultipart import MIMEMultipart import s…

2015-11-12 956

#Python
python在线抓取百度词典的翻译结果翻译单词

这段代码通过抓取百度词典的翻译结果达到翻译单词的目的   这个小工具使用Python语言编写完成,其中使用到这 些类库(urllib,BeautifulSoup ),前者…

2015-11-12 218
1 5 6 7 8 9 90