Layouts for command line, web and GUI applications.
Command-Line Application Layouts
- Single File Application
- Single File packaged application
Application with internal packages
Web Application Layouts
GUI Application Layouts
Single File Application has a single script or a single python file. It may also contain
Supporting and helper files.
helloworld/
│
├── .gitignore
├── helloworld.py
├── LICENSE
├── README.md
├── requirements.txt
├── setup.py
└── tests.py
Explain the above files
We can update the above structure to contain a package in it.
helloworld/
│
├── helloworld/
│ ├── __init__.py
│ ├── helloworld.py
│ └── helpers.py
│
├── tests/
│ ├── helloworld_tests.py
│ └── helpers_tests.py
│
├── .gitignore
├── LICENSE
├── README.md
├── requirements.txt
└── setup.py
GUI and more complex applications may contain many packages and some key folders like bin, data, server etc.
Download
0 formats
No download links available.
How to create application layout in python | NatokHD