> Le Tue, 12 May 2009 08:37:27 +0100 (BST),
> man...@themacaque.com s'exprima ainsi:
>
>> Lets see if I understand what you mean, in my example I should add an
>> import inside __init__.py to be able to use relative imports:
>>
>> /general
>>__init__.py >> from address_book import AddressBook
>
> man...@themacaque.com wrote:
>> Hello there,
>>
>> I have just started working with python and I have some issues
>> understanding how I should be importing modules from packages. Curretly
>> I
>> have the following tree structure:
>>
>> general/
>> __init__.py
>> address_book.py
>> group
> Le Mon, 11 May 2009 21:44:09 +0100 (BST),
> man...@themacaque.com s'exprima ainsi:
>
>> Hello there,
>>
>> I have just started working with python and I have some issues
>> understanding how I should be importing modules from packages. Curretly
>> I
>> have the following tree structure:
>>
>> gen
Hello there,
I have just started working with python and I have some issues
understanding how I should be importing modules from packages. Curretly I
have the following tree structure:
general/
__init__.py
address_book.py
groups/
__init__.py
contact_group.py
where groups and gene