Code Management

Jens j3nsby at gmail.com
Tue Nov 20 19:09:49 EST 2007


Dear Reader,

I'm writing some modules in Python, and I'm also using unittests. I'm
wondering about some things:

1) Should I put my unittests in a subdirectory? Does the subdirectory
have to be a package?

2) Does the main folder /myproject have to be a package? Should I put
my modules directly under /myproject, or should I create a subfolder,
for example /myproject/modules

Does anyone have any "best practices" as to how to manage your code?

Thanks!



More information about the Python-list mailing list