Python Glossary
Welcome to the Python Glossary, a comprehensive reference for common Python programming concepts and terminology. This guide serves both newcomers and experienced developers seeking quick references or refreshers on Python’s features.
- Duck Typing A type system where an object is considered compatible with a given type if it has all the methods and attributes that the type requires.
- EAFP A coding style that assumes the presence of valid attributes and methods, and handle exceptions if they aren’t present.
- IDLE A lightweight integrated development environment (IDE) that comes bundled with Python.
- LBYL A coding style that emphasizes checking for conditions before executing a particular action.
- Magic Method A method that allows you to define how objects behave with built-in functions and operators.
- PEP Python Enhancement Proposal. A design document that provides information to the Python community or proposes changes to Python itself.
- Pythonic An approach or style of writing code that aligns with Python’s philosophy and idioms.
- REPL An interactive programming environment that allows you to write and execute code in a step-by-step manner and get immediate feedback on how the code works.
- Virtual Environment A directory containing all the files and executables needed to support a functional Python environment.
- Zen of Python A collection of guiding principles for writing Python code.