![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 1318 阅读 · 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 · 619 阅读 · 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 · 649 阅读 · 0 评论