Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (3 active)
A
-
*args and **kwargsCollect any number of extra positional arguments (args) or named arguments (kwargs).
-
async / await (Python)Running many waiting tasks (network calls) at the same time in one program.
B
-
Basic types (str, int, float, bool, None)
The building blocks of Python values; None means "no value".
C
-
Class (Python)
A blueprint for objects with their own data (attributes) and functions (methods).
D
-
datetime and time zones
Dates, times, durations, and why every stored time should carry its time zone.
-
Decorator
A line starting with @ above a function that wraps it with extra behaviour, such as caching.
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
F
-
f-stringA string with expressions inside {}, filled in at runtime.
-
for, while, range, enumerate, zipThe ways to repeat things in Python.
-
Function (def)
A named block of reusable code, defined with def; it can take arguments and return a value.
G
-
Generator and yield
A function that produces values one at a time, so huge data never has to fit in memory.
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
I
-
if __name__ == "__main__"Runs code only when the file is executed directly, not when it is imported.
-
import and modulesEvery .py file is a module; import loads code from another file, the standard library or an installed package.
-
Indentation
In Python, spaces at the start of a line decide which block the line belongs to.
L
-
lambdaA tiny nameless function written on one line.
-
List and tuple
A list is an ordered, changeable collection; a tuple is the same but fixed.
-
List comprehension
A one-line way to build a list from another list.
M
-
Magic number
A bare number in code with no name explaining what it means.
-
Monkey patch
Changing how existing code behaves at runtime from outside, without editing its source.
P
-
pandas
The library for tables of data in Python: load, clean, filter, group and export.
-
pathlib and filesThe modern way to work with file paths and read or write files.
-
Predicate
A function or condition that answers yes or no about a value.
-
Python
A readable general-purpose language, the favourite for scripts, data work, automation and AI.
S
-
Set
A collection without duplicates, with very fast "is it in there?" checks.
-
Standard library
The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.
T
-
try / exceptCatching errors so the program can react instead of crashing.
-
Type hints
Optional notes on which types variables and functions expect; editors and tools like mypy check them.
W
-
Web scraping (BeautifulSoup, Playwright)
Extracting information from web pages with code.