Ok I got this part. But the screen is initializing and after that i get
program not responding message. The screen becomes inactive and i have to
kill the program.

thanks,
Varsha



On Fri, Feb 6, 2009 at 10:04 AM, Varsha Purohit <[email protected]>wrote:

> 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
>
>

Reply via email to