[Tutor] Another question about graphics.

Timo timomlists at gmail.com
Thu Nov 10 11:47:59 CET 2011


Op 10-11-11 06:03, Nathaniel Trujillo schreef:
> I am using python version 2.7.2. I put the version of livewires for 
> python 2.x in the right folder this time and after running the 
> following program I got a different error message. Here they are.
> program
> # New Graphics Window
> # Demonstrates creating a graphics window
> from livewires import games
> games.init(screen_width = 640, screen_height = 480, fps = 50)
> games.screen.mainloop()
> error message
> Traceback (most recent call last):
>   File "C:/Python27/new_graphics_window.py", line 6, in <module>
>     games.init(screen_width = 640, screen_height = 480, fps = 50)
> AttributeError: 'module' object has no attribute 'init'
Well, the error says it all. The games module has no init method. You 
should probably see the livewires documentation or mailing list for such 
questions. The chance for getting your third-party module questions 
answered is pretty small here.

Cheers,
Timo

> Thanks for the help.
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list