[Tutor] Another question about graphics.

Nathaniel Trujillo hothottrott at gmail.com
Thu Nov 10 06:03:19 CET 2011


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'

Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111109/1a109054/attachment.html>


More information about the Tutor mailing list