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

python 1073

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

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

2015-11-17 817

#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 实现半双工聊天器

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

2015-11-16 783

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

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

2015-11-15 945

#Python
通信接口测试(json)

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

2015-11-15 647

#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下载百度音乐代码

之前看到有人写过类似的代码,感觉有点累赘,其中登陆那些东西其实可以避免的 我把百度音乐的网页代码稍微分析了一下,如果要求不高,下载普通音质的歌曲是不需要登陆的(当然如果你用浏览器打…

2015-11-12 885

#Python
Python动态生成中文验证码

Python动态生成中文验证码 # -*- coding: utf-8 -*- import Image,ImageDraw,ImageFont import random imp…

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