Python Glossary

TermDefinition
PythonA high-level, dynamically typed, and interpreted programming language known for its readability and versatility.
InterpreterA program that executes Python code line by line, allowing for real-time evaluation and debugging.
CompilerA tool that translates Python source code into machine code before execution, often resulting in faster program execution.
VariableA named storage location in Python used to store data values, which can change during the execution of a program.
FunctionA block of reusable code that performs a specific task and can be called multiple times throughout a program.
ModuleA file containing Python code that can be imported and reused in other programs, aiding code organization and reusability.
ListAn ordered collection of items, often of different types, enclosed in square brackets ([]), allowing for indexing and iteration.
TupleAn ordered, immutable collection of items enclosed in parentheses (()), often used to store related data together.
DictionaryA collection of key-value pairs enclosed in curly braces ({}) that allows efficient data retrieval based on keys.
LoopA control structure that repeats a specific block of code until a certain condition is met, such as a “for” or “while” loop.
ExceptionAn event that occurs during program execution, often due to errors, and disrupts the normal flow of code.
Object-OrientedA programming paradigm that focuses on creating objects with attributes and methods, promoting code organization and reuse.
InheritanceA mechanism in Python that allows a class (subclass) to inherit properties and methods from another class (superclass).
PolymorphismThe ability of different objects to respond to the same method or function call in a way that is specific to their individual types.
RecursionA technique in which a function calls itself to solve a problem, often used for tasks that can be broken down into smaller, similar subproblems.
Lambda FunctionAn anonymous, small, and inline function defined using the “lambda” keyword, often used for simple operations and short functions.
IDEIntegrated Development Environment, a software application that provides tools for writing, testing, and debugging Python code.
PIPPython Package Index, a package manager for Python that allows easy installation and management of third-party libraries.
Virtual EnvironmentAn isolated Python environment that allows you to manage dependencies and avoid conflicts between different projects.
APIApplication Programming Interface, a set of rules and protocols that allows different software applications to communicate with each other.
GUIGraphical User Interface, a type of interface that allows users to interact with a computer program through graphical elements like buttons and windows.
JSONJavaScript Object Notation, a lightweight data interchange format commonly used for data serialization and transmission between a server and a client.