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

python 1073

#Python
自己写的简单的类似minecraft的游戏

# coding: utf-8 #中文注释 import direct.directbase.DirectStart from direct.showbase.DirectObje…

2015-02-14 765

#Python
从百度地图API接口批量获取地点的经纬度

#!/usr/bin/python #coding:utf-8 import xlrd import xlwt import requests import urllib impo…

2015-02-14 743

#Python
竖排打印传单手机号码易撕条

#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @Author:Quico Tomy @Function:Input a pho…

2015-02-14 504

#Python
python汉字随机组合.py

""" python汉字随机组合.py 依山居 7:07 2015/11/11 相关资料 Python random模块 http://my.oschina.net/cuffica…

2015-02-13 940

#Python
判断一个数是否能用两个数组合得到

#!/usr/bin/python def CanCombin(A,B,num): ret = () for i in range(1,num/A): print i lest =…

2015-02-11 486

#Python
pygame memory puzzle

import pygame,random,sys from pygame.locals import * FPS = 30 boxwidth = 3 boxheight = 2 a…

2015-02-10 495

#Python
newton method 求解平方根

#!/usr/bin/python def sqrt_iter(guess,x): if(good_enough(guess, x)): print guess else: sqr…

2015-02-09 482

#Python
Python 的 Hello 代码 实用的第一次 Python 抓图代码 参考

#!/usr/bin/env python import urllib import re x=0 def getHtml(url): page = urllib.urlopen(…

2015-02-07 998

#Python
Python中线程池的实现(三)

# -*- coding: utf-8 -*- # Java 理论与实践: 线程池与工作队列: http://www.ibm.com/developerworks/cn/java/…

2015-02-07 756

#Python
模拟时钟

# coding=utf8 import sys, pygame, math, random from pygame.locals import * from datetime i…

2015-02-06 644

#Python
Python发邮件示例

[root@his-web152 scripts]# more sendmail.py #!/usr/bin/env python2 #coding: utf-8 import s…

2015-02-06 405
1 68 69 70 71 72 90