Notes

Source: 📖 Effective Python item 2


Import statement sections and order

Import statements should be split into the following sections:

  1. Standard library modules
  2. Third-party modules
  3. Your own modules

Each import statement within those sections should be ordered alphabetically.


See also: