Recently I downloaded a game off pydev and the imports for it look like this below.
import pygame
from pygame.locals import *
However I have only ever created games by calling the in this way.
import pygame import player import enemy
I have called in the class one by one.
What does the lines of code at the top do? does it call all of his classes in?
pygame.locals
does, which belongs here. (even there he did no research, though) – Lohoris Jan 31 '12 at 10:51