Re: Problems with GUIs and SPE in Chapter 6
Thanks for your prompt response! The first issue is that there are about 3 windows in SPE. We are not sure which one to use. He tried to practice the example on page 53 of the "Hello World" book. When he entered "import easygui" in the bottom window and press enter, he got the following:
import easygui
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C  ython25easygui.py", line 3, in <module>
AttributeError: 'module' object has no attribute 'buttonbox'
When we tried using the top right window of SPE, we typed,
import easygui
easygui.msgbox (Hello There!")
we got the below message:
File "C  ocuments and settingsOwnerMy Documentshope.py", line 1
import
SyntaxError: invalid syntax
Script terminated.
|