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

python 1073

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

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

2015-11-17 797

#Python
Python 实现半双工聊天器

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

2015-11-16 764

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

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

2015-11-16 842

#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 489

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

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

2015-11-15 927

#Python
通信接口测试(json)

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

2015-11-15 627

#Python
文件夹常用操作

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

2015-11-14 131

#Python
简单的rss阅读工具

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

2015-11-14 576

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

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

2015-11-13 294

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

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

2015-11-13 523

#Python
扒糗事百科精华的python爬虫

# -*- coding: utf-8 -*- import urllib2 import urllib import re import thread import time #…

2015-11-12 520

#Python
python计算N天之后的日期

python计算N天之后的日期,可以自己写成一个函数,想得到几天后的日期都行 #! /usr/bin/env python #coding=utf-8 import time im…

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