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

python 1073

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

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

2015-11-17 798

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

#Python
通信接口测试(json)

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

2015-11-15 627

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

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

2015-11-15 928

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

#Python
python爬取千万淘宝商品的脚本

分享之前爬虫爬到的1000万条淘宝商品信息。平衡涵盖各种分类,包括商品名、卖家id、地区、价格等信息,json格式。 import time import leveldb from…

2015-11-12 166

#Python
遗传算法的神经网络python实现代码

遗传算法的神经网络python实现代码 ## {{{ http://code.activestate.com/recipes/578241/ (r1) from operator …

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