<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" /> Page Contents


</aside>


Page Layout

Basics of Python OOP

Python Variable Annotations

Python Comprehensions

Encapsulation in Python

Python Type Hinting

Python Functions

Python Packages & Modules

Python Constructors

Python Statements

Python Operators

Python Classes

Bulk of Python OOP

Python Built-In Functions

Python Built-In Methods

Python Decorators

Python Interfaces

Python Error/Exception Handling

Python Application Monitoring

Python Config Files

Advanced Topics in Python OOP

Python Context Managers

Python Private Methods

Python EXE Programs

Python Abstraction

Python Async. Programming

Python Method Overloading

Python Metaprogramming

Python Sub-Processes



Python Package Scripts

Common Python script names that are often used for package-related files:

  1. __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.
  2. setup.py: This script is commonly used to define the package metadata, dependencies, and installation instructions for distributing and installing the package.
  3. config.py: This script typically contains configuration settings or constants used by the package.
  4. constants.py: Similar to config.py, this script holds constant values used throughout the package.
  5. utils.py: This script includes utility functions or helper functions that are commonly used by other modules or scripts within the package.