Pygame 1.5.5 Reference Manual

Contains the core routines that are used by the rest of the pygame modules. It's routines are merged directly into the pygame namespace. This mainly includes the auto-initialization init() and quit() routines. There is a small module named 'locals' that also gets merged into this namespace. This contains all the constants needed by pygame. Object constructors also get placed into this namespace, you can call functions like Rect() and Surface() to create objects of that type. As a convenience, you can import the members of pygame.locals directly into your module's namespace with 'from pygame.locals import *'. Most of the pygame examples do this if you'd like to take a look. [via]
ftp://ftp.wxftp.seul.org/pub/pygame/contrib/p...

Rating: 0/10

 

 

 

 

 

Related Files

 

Pygame 1.5.5 Reference Manual

Rate this Document

ADS

 

Tag Clouds

 

BookShelf