python - Recommended ways to split some functionality into functions, modules and packages? -


One point comes, in a relatively large size project, one should think about dividing the functionality into different tasks , And then various modules, and then various packages. Sometimes in different source distributions (such as: removing a common utility, such as opters, in a separate project)

Question - How does the parts decide to put in the same module, and put the parts in a separate module? The same question for packages

see

sketch your overall category definitions

Divide the definitions of these classes into "Module".

Implement and test the module separately from each other.

To knit the module together to create your final application

Note It is almost impossible to decompose a functional application developed in an organizational form. So do not do it

Break your design quickly and often Create different modules Integrate to create an app


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -