I'm new to relative imports and having a problem.
(ValueError: Attempted relative import in non-package)
I noticed this:
http://www.thescripts.com/forum/thread549516.html
Is this behavior intentional?
I'm seeing it in Python 2.5.1.
Thanks,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/
On Apr 19, 6:54 pm, "Jorgen Bodde" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to structure my app so that I have two dirs like;
>
> obj/{object files}
>
> gui/{gui files}
>
> Here comes the catch. From the GUI dir, I would like to access the obj
> submodule path. I need to go one dir back.. I
On Apr 19, 11:54 am, "Jorgen Bodde" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to structure my app so that I have two dirs like;
>
> obj/{object files}
>
> gui/{gui files}
>
> Here comes the catch. From the GUI dir, I would like to access the obj
> submodule path. I need to go one dir back.. I
Hi all,
I want to structure my app so that I have two dirs like;
obj/{object files}
gui/{gui files}
Here comes the catch. From the GUI dir, I would like to access the obj
submodule path. I need to go one dir back.. I read there was something
like from .. import x in python 2.5 so that I could a