On Sat, Nov 07, 2015 at 04:09:19PM -0600, James Hartley wrote:
> The Python 3 tutorial discusses relative imports at:
>
> https://docs.python.org/3/tutorial/modules.html#intra-package-references
>
> I have the following directory structure for a package in development:
>
> + outer_package/
>
The Python 3 tutorial discusses relative imports at:
https://docs.python.org/3/tutorial/modules.html#intra-package-references
I have the following directory structure for a package in development:
+ outer_package/
+ __init__.py
+ inner_package
| + __init__.py
| + mycl
Sorry, I forgot to say that the error is:
ValueError: attempted relative import in non-package.
On 2/24/11, Alex Hall wrote:
> Hi all,
> I am trying to place some common files into a folder so that all files
> in other folders can access the common files. That is, the file for a
> card class, a d