On 07/04/17 03:09, Phil wrote:
> Thank you for reading this.
> 
> This is my first attempt at using Tkinter and I've quickly run into a problem.
> 

Peter has already answered the problem but I'd like
to point out how he used the interactive prompt >>> to
demonstrate what was going wrong. You should get into
the habit of always having an interactive shell running
while you code, then you can instantly answer questions
like this by copying code from your script into the shell
and seeing the output.

The shell is a vastly underused piece of pythons
programming environment, its not just for beginners
to learn on, it can greatly speed up your coding workflow.

Anytime you wonder what a particular method does,
or what a data structure looks like, just type it
into the shell and find out. No more guessing.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to