Files application architecture

Benjamin Watine watine at
Fri Sep 5 17:53:12 CEST 2008


I'm about to develop a small python application and I wonder how to 
organize files in this application.
I'm familar to java, so I'm tempted to use the same convention : 1 file 
per class and 1 folders per package.

I know that packages doesn't exists in python, they are modules instead. 
May I create specific module for each "group of class" ? My application 
follow the MVC paradigm, so basically, I've a package Model, a package 
View, and a package Controller.

So, what are best practices for organizing files and folders in a small 
python project ?
I've found PEP8 ( that gives a 
lot of good hints on coding convention, but nothing about files 

Thanks in advance !


More information about the Python-list mailing list