On 14/08/11 14:07, Wayne Werner wrote:
Of course I personally I usually do
import Tkinter as tk
Which means I only have to type 3 extra characters, but it removes any
ambiguity - tk.Something had to come from Tkinter
Thats exactly what I tend to do nowadays.
I used to use the import * method for tkinter but eventually
I got bit by a name clash and it took too long to realize the
problem so I now use the "import as tk" shortcut except for
very short scripts - usually just for tests or experiments..
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor