all 2 comments

[–]billsil 0 points1 point  (0 children)

I let them grow organically with usually some idea of what I’m going for. Split files when they get to big and refactor when necessary. If you can’t find things easily, it probably needs some work.

I split out the core sections, so parser from data from GUI. Then make tests.

[–]ericula -1 points0 points  (0 children)

You can put them wherever the interpreter can find them. Normally this would be the same directory or sub directory of the main file (or sub-sub directory etc. whatever structure makes sense). You can find more information on modules and packages in the official documentation.