<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" /> Page Contents
</aside>
Python Error/Exception Handling
Common Python script names that are often used for package-related files:
__init__.py
: This file is used to mark a directory as a Python package. It may be empty or contain initialization code for the package.setup.py
: This script is commonly used to define the package metadata, dependencies, and installation instructions for distributing and installing the package.config.py
: This script typically contains configuration settings or constants used by the package.constants.py
: Similar to config.py
, this script holds constant values used throughout the package.utils.py
: This script includes utility functions or helper functions that are commonly used by other modules or scripts within the package.