[Python-Dev] Python FAQ: Why doesn't Python have a "with" statement?

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jun 15 02:24:43 CEST 2008


Cesare Di Mauro wrote:

> The same happens with:
> 
> from Tkinter import *
> 
> which is a fair common instruction...

...and which should *not* be used in most cases, for
the same reason.

All those tutorials that start out with 'from something
import *' are doing a lot of harm to the impressionable
minds of new programmers, IMO.

-- 
Greg


More information about the Python-Dev mailing list