Question regarding naming convention

Fredrik Lundh fredrik at pythonware.com
Tue Jul 1 18:28:23 EDT 2003


"michael" wrote:

> Both of the above seem to overcomplicate the syntax. Of the two,
> I prefer the second, but I'm sure I've read on c.l.py that the from.
> import.. version is not a preferred way of doing things.

"from ... import *" is usually a bad idea.

"from SomeClass import SomeClass" is an excellent idea.

more here:

    http://effbot.org/zone/import-confusion.htm

</F>








More information about the Python-list mailing list