[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Very beginner level question
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Very beginner level question
- From: Varsha Purohit <varsha.purohit@xxxxxxxxx>
- Date: Fri, 6 Feb 2009 10:04:59 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 06 Feb 2009 13:05:01 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=IK5+5C3zAN3A7jqX8oIXZH4cGKZc7DNNIYtXg8NVfdA=; b=DScDEUm3n+P27zUbLMAwX3skcu6NY+LVGPv/ts50HDXX+ynvAvYxznjChd1FLzjkFc IZLSpzSCS1d8+sM9nz9FGsWJuQA3g2hU8Ou2TxgidSHivlvWkQUmRnEHCx7FCutnuq/R W9UtG2vMF6iWyBMs9W7oo2mv86FLlkXO02qOY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sjcyWF0DIm09IUvQ51RXMobPVISAbbuG9fk2gxETlVJBwlpZQMu3t1G/PSr3xyDq17 Jkw4hmFLypyPY8tjRt25nuBbBIoF2YQosdczzCh6fz9g0fMFZYSdXK/VKCUaaxAaxdil +O2bCZCxe9waDJR8lhNROjxlWCbKCCPDxPkxo=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hello everyone,
I just started programming again in pygame. I have downloaded python 2.4 and pygame msi for the same. I am writing a basic program of screen initialization
from pygame.locals import *
screen = pygame.display.set_mode((1024,768))
and i get an error message.
Traceback (most recent call last):
File "C:/pygames/car.py", line 3, in -toplevel-
screen = pygame.display.set_mode((1024,768))
NameError: name 'pygame' is not defined
What does this mean ??
thanks,
Varsha