On 6/29/2012 4:49 PM, Littlefield, Tyler wrote:
I am no expert but from what have picked up so far from x import is
frowned upon in most cases

from x import *
# frowned on by many as reader will not necessarily know what that imports, conflicts are possible, and if you import * twice, reader may really not know what came from where

from x import y,x  # fine, common, used in stdlib
import x as y  # ditto
from x import y as z  # ditto
--
Terry Jan Reedy



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to