A directory, also called a folder, is a filesystem container for organizing files and other directories. Different operating systems may use either term. section 12.1 section 12.0
Use directories to keep related project materials together:
- Create a general Projects directory for current and future projects. section 12.0
- Create a separate subdirectory for each application, such as coffeeshop. section 12.0
- Place application files in suitable subdirectories, such as templates, static, images, and fonts. section 12.0
Organizing the Coffee Shop application
An application initially sits among editor files and templates in mu_code. Moving its related files into Projects/coffeeshop separates the web application from an earlier version and makes its structure easier to manage. Renaming first_app.py to app.py also gives the main application file a clearer conventional name. section 12.0
A directory provides the organizing layer around an application’s files; the application can then work with templates, static assets, and data storage within that project structure. section 12.0 section 12.1






