En Mon, 23 Mar 2009 13:19:51 -0300, CinnamonDonkey <cinnamondon...@googlemail.com> escribió:

My applogies if this is a silly question... but what makes something a
package?

A package is a directory with an __init__.py file [that Python is aware of].

and does that mean that what I am trying to do is not
possible ?

You can do an "absolute" import of subpack1 and subpack2. But you cannot import them "relatively" - not using your current configuration, but see Maxim Khitrov post for an alternate disposition that works.

--
Gabriel Genellina

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

Reply via email to