python
ctokyo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PyGame基础知识-Making Games with Python & Pygame
1. 例子例1. 创建一个空窗口import pygame, sys #退出用到了sysfrom pygame.locals import * #容易使用locals中的变量,但如果模块过多,容易产生混乱pygame.init()#初始化,必须在使用pygame的其他函数之前调用DISPLAYSURF = pygame.display.set_mode((400, 300))#创建原创 2013-04-06 20:52:13 · 1455 阅读 · 0 评论 -
The Zen of Python
>>> import thisThe Zen of Python, by Tim PetersBeautiful is better than ugly.Explicit is better than implicit.Simple is better than complex.Complex is better than complicated.Flat is better tha转载 2013-04-06 22:47:17 · 676 阅读 · 0 评论 -
The Zen of Python / Python之禅
在python中import this就会展示出The Zen of Python如下: The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is转载 2013-04-06 22:50:49 · 690 阅读 · 0 评论
分享