[Tutor] Beginner

Alan Gauld alan.gauld at btinternet.com
Tue Jun 5 02:25:03 CEST 2012


On 04/06/12 19:50, dispatch3d at live.com wrote:

> The tutorial I am using says not to write GUI in the idle section

I suspect it only says not to *run* it in IDLE. Writing it
in IDLE is fine. But sometimes running Tkinter apps in Idle causes 
strange behaviour.  So save the file then run it from
Windows Explorer, eg. by double clicking the file.

> have been using the python shell to write the GUI app.

The Python shell is designed for testing and exploring not for writing 
apps. Use a text editor (Idle or something else). On windows I tended to 
use vim or Scite or occasionally Eclipse with PyDev plugin.

> As well once I have saved the code as .pyw when I go to the location to
> open and run it it does nothing how do I run it after its saved and
> completed.

That's probably due to a coding error.
Write a short Tkinter program that exhibits the problem and post it 
here. We can then try to advise you.

HTH

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list