I'm trying to teach myself python. I installed py-ui package and I'm trying to
run this example script:
import pyui
def onPress(button):
print "the button was pressed"
pyui.init(320,320,"gl")
newFrame = pyui.widgets.Frame(10, 10, 200, 200, "hello world!")
newFrame.setLayout(pyui.layouts.GridLayoutManager(3,3))
for i in range(0,9):
button = pyui.widgets.Button("button #%s" % i, onPress)
newFrame.addChild(button)
newFrame.pack()
pyui.run()
pyui.quit()
I get the following Error:
No module named WGL__init__
File /usr/local/lib/python2.3/site-packages/OpenGL/WGL/__init__.py, Line:2
I'm using the Eric3 IDE, also.
I can't find anything in Google or MARC lists...Any help please.
Thanks.
--
Rod
"If you stay the same long enough you'll be in
style some day again." Cren Dog
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"