10 2015 档案

碰撞检测
摘要:import pygameimport sysimport mathfrom pygame.locals import *from random import *class Ball(pygame.sprite.Sprite): def __init__(self, image, positi... 阅读全文

posted @ 2015-10-31 19:44 `Elaine 阅读(286) 评论(0) 推荐(0)

简单图形界面
摘要:import pygameimport sysimport mathfrom pygame.locals import *pygame.init()WHITE = (255,255,255)BLACK = (0,0,0)GREEN = (0,255,0)points= (100,100)RED = ... 阅读全文

posted @ 2015-10-29 21:43 `Elaine 阅读(195) 评论(0) 推荐(0)

pygame --- 可怜的小乌龟
摘要:来于----@小甲鱼工作室import pygameimport sysfrom pygame.locals import *#初始化pygame.init()size = width,height=600,400 #设置背景的大小speed = [-2,1] #设置图片移动的速度bg=(... 阅读全文

posted @ 2015-10-27 20:18 `Elaine 阅读(630) 评论(0) 推荐(0)

Tkinter 计算器
摘要:from tkinter import *master = Tk()frame = Frame(master)frame.pack(padx=10,pady=10)v1 = StringVar()v2 = StringVar()v3 = StringVar()def test(content): ... 阅读全文

posted @ 2015-10-24 20:52 `Elaine 阅读(319) 评论(0) 推荐(0)

Tkinter 小应用
摘要:import tkinter as tkclass APP: def __init__(self,master): frame = tk.Frame(master) frame.pack(side = tk.LEFT,padx=50,pady=50) ... 阅读全文

posted @ 2015-10-24 14:29 `Elaine 阅读(617) 评论(0) 推荐(0)

GUI界面------tkinter
摘要:import tkinter as tkclass APP: def __init__(self,master): frame = tk.Frame(master) frame.pack(side = tk.LEFT,padx=50,pady=50) ... 阅读全文

posted @ 2015-10-24 13:35 `Elaine 阅读(191) 评论(0) 推荐(0)

python批量下载淘宝图片3
摘要:import urllib.requestimport osdef url_open(url): req = urllib.request.Request(url) req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.2; WO... 阅读全文

posted @ 2015-10-24 10:11 `Elaine 阅读(541) 评论(0) 推荐(0)

python批量下载图片3
摘要:import urllib.requestimport osdef url_open(url): req = urllib.request.Request(url) req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.2; WO... 阅读全文

posted @ 2015-10-24 08:04 `Elaine 阅读(735) 评论(0) 推荐(0)

扒图2
该文被密码保护。

posted @ 2015-10-22 20:38 `Elaine 阅读(6) 评论(0) 推荐(0)

扒图
该文被密码保护。

posted @ 2015-10-22 19:58 `Elaine 阅读(3) 评论(0) 推荐(0)

代理ip
摘要:import urllib.requesturl = 'http://www.whatismyip.com.tw'proxy_support = urllib.request.ProxyHandler({'http':'14.221.94.210:9999'})opener = urllib.req... 阅读全文

posted @ 2015-10-21 20:24 `Elaine 阅读(130) 评论(0) 推荐(0)

lalala~~
该文被密码保护。

posted @ 2015-10-13 21:15 `Elaine 阅读(7) 评论(0) 推荐(0)

Windows下安装Django
摘要:1、在命令行下安装: 在Windows下,可以将Django放在与Python相同的目录下,在DOS下进入到Django-*目录,执行python setup.py install,2、配置环境变量 配置环境变量还是需要手动,将这几个目录添加到系统环境变量中:C:\Python27;C:/Py... 阅读全文

posted @ 2015-10-12 21:54 `Elaine 阅读(313) 评论(0) 推荐(0)

HDU-4122
摘要:Alice's mooncake shop Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3475 Accepted Submission(s) 阅读全文

posted @ 2015-10-07 20:37 `Elaine 阅读(209) 评论(0) 推荐(0)

HDU-3320
摘要:Alice’s Cube Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1866 Accepted Submission(s): 591 Pro 阅读全文

posted @ 2015-10-05 02:01 `Elaine 阅读(177) 评论(0) 推荐(0)

HDU-3221
摘要:Brute-force Algorithm Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2560 Accepted Submission(s) 阅读全文

posted @ 2015-10-04 23:57 `Elaine 阅读(365) 评论(0) 推荐(0)

POJ-1509
摘要:Glass Beads Time Limit: 3000MS Memory Limit: 10000K Total Submissions: 3416 Accepted: 1940 Description Once upon a time there was a famous actress. As 阅读全文

posted @ 2015-10-02 19:26 `Elaine 阅读(205) 评论(0) 推荐(0)

HDU-3374
摘要:String Problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2057 Accepted Submission(s): 897 P 阅读全文

posted @ 2015-10-02 19:22 `Elaine 阅读(219) 评论(0) 推荐(0)

导航