Explicit or general importing of namespaces?

Max M maxm at mxm.dk
Mon Feb 28 06:27:08 EST 2005


Michael Hoffman wrote:

> But don't do "from Tkinter import *" for the reasons Diez has
> identified in the FAQ.

It is so annoying to read some code and having to guess from where the 
do_complicated_stuff() function is imported from.

Explicit importing is by far the moste preferable.

-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science



More information about the Python-list mailing list