Forum
>>
Programmazione Python
>>
Web e Reti
>>
What kind of Python application project structure is ideal?
Pagina: 1
Esegui il login per scrivere una risposta.
Pagina: 1
Scritto da Rosaline |
2023-02-01 14:34:49 - What kind of Python application project structure is ideal?
|
Consider that you wish to use Python to create a complex desktop (not web) application for end users. What folder hierarchy for the project would be the best?
Maintenance simplicity, IDE friendliness, suitability for source control branching/merging, and simplicity in creating install packages are all desired attributes. more specifically Where should the source be placed? Scripts used to launch applications should go where? Where should I store my IDE project clutter? Where do you place the acceptance and unit tests? Where should non-Python data, such configuration files, go? Where should non-Python sources for pyd/so binary extension modules be placed, such as C++? |
|
Scritto da Gulshan Negi |
2023-06-26 12:03:38 - Re: What kind of Python application project structure is ideal?
|
Hello this is Gulshan Negi
Well, creating a complex desktop application in Python, organizing the project's folder hierarchy is crucial for maintaining simplicity, IDE friendliness, source control branching/merging, and ease of creating install packages. Consider the following key points for each aspect: Source CodeApplication Scripts: Separate scripts launch the application or perform specific tasks in a distinct directory. IDE Project Clutter Tests Non-Python Data Non-Python Source for Binary Extension Modules Adapting the suggested folder hierarchy to your project's needs and following relevant conventions will contribute to a well-organized and maintainable Python desktop application. Thanks |
Pagina: 1
Esegui il login per scrivere una risposta.