Python Error, help

2004-12-23 Thread Rod Person
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.Gr

Python Error, help

2004-12-23 Thread Rod Person
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.Gr