[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] display initialization problems
On Tue, 11 Jan 2005, Jeremy Etherton wrote:
> Hello, List.
hi, a quick one 'cause couldn't see this in the post:
did you try doing pygame.init() before pygame.display.init() ?
~Toni
> Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.>>> import pygame
> >>> pygame.display.init()
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> pygame.error: DirectInput::CreateDevice: Device not registered
> >>>
>
>
> Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pygame
> >>> pygame.init()
> (5, 1)
> >>>