Import module from a different subdirectory

Rich Shepard rshepard at appl-ecosys.com
Thu May 16 20:24:15 EDT 2019


On Fri, 17 May 2019, duncan smith wrote:

> You could make the subdirectories Python packages. Google (or better
> DuckDuckGo) is your friend.

Duncan,

My understanding is that Python3 does not require subdirectories to have an
__init__.py file, only Python2 does. If that's not correct I'll add the
blank file.

Rich


More information about the Python-list mailing list