Las palabras de Yoda sobre cómo se debe importar desde módulos en Python

Publicado el mié 26 enero 2011

Extraído desde Code Like a Pythonista: Idiomatic Python.

(Exterior Dagobah, jungle, swamp, and mist.)

LUKE: Is from module import * better than explicit imports?

YODA: No, not better. Quicker, easier, more seductive.

LUKE: But how will I know why explicit imports are better than the wild-card form?

YODA: Know you will when your code you try to read six months from now.