[Tutor] easygui question, again

Alan Gauld alan.gauld at btinternet.com
Sun Jun 10 17:20:13 CEST 2007


"Rafael Bejarano" <bejarar at sbcglobal.net> wrote

>> You could try running the easygui demo - just type
>> python easygui.py
>> on the command line from the directory containing easygui.
>
> At your convenience, please explain the above statement. I don't 
> know
> what "from the command line" means.

Kent is referring to the Unix command line in the Terminal window.

If you start Terminal then move to the folder where you
installed easygui.py (using the cd command I showed you earlier)
you can type the above command to execute the easygui test
program. This will prove that easygui is installed and working
correctly.

Alternatively, just start Python in Terminal and at
the >>> prompt type:

>>> import easygui as ez
>>> ez._test()   # note the . after ez...

Alan G 




More information about the Tutor mailing list