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
-
argparse and command-line scripts
Turning a script into a proper command with options and --help.
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.
E
-
.env fileThe file with the settings and secrets of one installation: database password, app key, API keys.
-
Environment variable
A named setting the system passes to programs, like PATH, HOME or an API key.
F
-
Flask and FastAPI
Small Python web frameworks for APIs, webhooks and simple web apps.
G
-
Guard
A check at the start of a function that exits early when a condition is not met.
I
-
if __name__ == "__main__"Runs code only when the file is executed directly, not when it is imported.
J
-
json and csv modules
Read and write JSON and CSV files, the two most common data exchange formats.
-
Jupyter notebook
An interactive document mixing code, results, charts and notes; popular for data exploration.
L
-
lambdaA tiny nameless function written on one line.
-
List comprehension
A one-line way to build a list from another list.
-
loggingPython's built-in way to record what a program does, with levels from DEBUG to CRITICAL.
M
-
Magic number
A bare number in code with no name explaining what it means.
O
-
ORM
Object-relational mapper: code that turns database rows into objects so you rarely write SQL by hand.
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.
-
PEP 8, ruff and black
Python's style rules, and the tools that check and format code automatically.
-
pytest
The standard tool for writing and running tests in Python.
-
python-dotenv and os.environ
Reading settings and API keys from environment variables or a .env file.
R
-
requests
The popular package for calling websites and APIs from Python.
-
requirements.txt, pyproject.toml, uvFiles that list a project's packages so anyone can install the same versions.
S
-
Set
A collection without duplicates, with very fast "is it in there?" checks.
-
SQLite
A complete database stored in a single file, with no server to run.
-
sqlite3 modulePython's built-in access to SQLite database files.
-
Standard library
The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.
-
subprocessRunning other programs and shell commands from Python.
T
-
Traceback
Python's error report: the chain of calls that led to the error, with the error itself last.
-
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.