Python Directory structure

A basic directory structure consists of the following:

  • A readme file
  • A license file
  • (a file with exactly this name has a specific purpose, see the next section.)
  • Your code organized into logical folders, which depends entirely on the project.  Common sub-folders are:
    • "docs" for your documentation
    • "tests" for your unit tests.