[Tutor] Should a "data" directory have a __init__.py file?

boB Stepp robertvstepp at gmail.com
Sun Jan 17 17:50:35 EST 2016


Py 3.4.4; W7-64-bit

I've been reviewing all of the posts relevant to questions I asked
last year on Python project directory structures.  I was wondering
about a data directory nested under the program's top-level directory.
I can see no reason why I would need an __init__.py file for a data
directory.  Yes, files will be read there, but there will be no code
there.  Is this correct?

-- 
boB


More information about the Tutor mailing list