On 04/04/2013 14:49, Jason Swails wrote:
I've added some comments about the code in question as well...

On Wed, Apr 3, 2013 at 11:45 PM, <teslafreque...@aol.com
<mailto:teslafreque...@aol.com>> wrote:

    Hi, I am working with Tkinter, and I have set up some simple code to
    run:

    import tkinter
    import re
    from tkinter import *


If you import everything from tkinter into your top-level namespace,
then the "import tkinter" at the top serves no purpose.

I don't know whether this applies to the OP's code, but I can think of at least one reason why one would want both "import module" and "from module import*" at the top of one's code: monkey patching.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to