Explore Flask

4.1. Definitions

Let's define some of the terms that we'll run into in this chapter.

Repository - This is the base folder where your applications sits. This term traditionally refers to version control systems, which you should be using. When I refer to your repository in this chapter, I'm talking about the root directory of your project. You probably won't need to leave this directory when working on your application.

Package - This refers to a Python package that contains your application's code. I'll talk more about setting up your app as a package in this chapter, but for now just know that the package is a sub-directory of the repository.

Module - A module is a single Python file that can be imported by other Python files. A package is essentially multiple modules packaged together.

Note