Two Classes In Two Files
Gabriel Genellina
gagsl-py at yahoo.com.ar
Wed Aug 9 23:03:36 EDT 2006
At Wednesday 9/8/2006 16:24, dhable at gmail.com wrote:
>I just started working with Python and ran into an annoyance. Is there
>a way to avoid having to use the "from xxx import yyy" syntax from
>files in the same directory? I'm sure it's been asked a million times,
>but I can't seem to find the answer. [...]
>When I run the Two.py file, I get the expected output but I'd like to
>eliminate the from line in two.py.
Embody the Zen of Python:
http://www.python.org/dev/peps/pep-0020/
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
More information about the Python-list
mailing list