[Tutor] When are "__init__.py" files needed and not needed in a project?
boB Stepp
robertvstepp at gmail.com
Sun Oct 21 00:43:21 EDT 2018
On Sat, Oct 20, 2018 at 11:21 PM Alex Kleider <akleider at sonic.net> wrote:
>
> On 2018-10-20 14:52, boB Stepp wrote:
>
>
> >> > In case it helps, my current project structure is:
> >> >
> >> > ~/Projects/solitaire_scorekeeper/ # I left off the actual project folder in my original email
> >> > data/
> >> > docs/
> >> > tests/
> >> > .git/
> >> > main.py
> >> > .gitignore
>
>
> I'm curious to know where under the above structure you keep your code
> files? (...or is all your code within main.py?)
For this project, I am hoping that in the end there will not be a lot
of code, so I am currently putting all code in main.py. If this gets
too unwieldy I will move all refactored source code files into a new
"src" subdirectory.
--
boB
More information about the Tutor
mailing list