PyLand Team
PyLand Team
Author's articles
All publications PyLand Team
HTML sites with FastAPI: Jinja, static files, and forms
FastAPI can return more than JSON. Jinja2Templates renders HTML, while StaticFiles serves CSS and images. A regular HTML form uses...
Secure file uploads: size, type, names, and storage
Choosing a photo looks simple: the browser sends a file and the server stores it. However, its name, declared type,...
S3-compatible object storage: buckets, keys, and URLs
A regular folder works on one computer. After deployment it is unreliable: a container can be replaced, and several application...
Cookie sessions and CSRF in server-rendered web applications
A cookie session connects browser requests to a user. A signed cookie prevents undetected modification, but its contents are not...
Google GenAI SDK in Python: synchronous and asynchronous calls
The official google-genai package lets Python applications call Gemini without assembling HTTP requests by hand. This guide works for FastAPI...
if __name__ == "__main__": the Python entry point
The if name == "main" guard defines a Python program's entry point: it distinguishes direct file execution from importing the...
strip() and lower(): Preparing User Text π§Ή
A user may enter the correct word with extra spaces or different letter case. Python treats "Alpha", " Alpha ",...
ord(), chr(), and Cyclic Letter Shifts in Python π
A string contains characters, but a computer stores every character as a numeric code. Python provides two built-in functions for...
How Functions Work Together in Python π§©
A small function normally handles one clear task. A real program, however, contains several tasks: receive data, process it, display...
Undo and Revert in GitHub Desktop: Fix Mistakes Without Fear
A commit is not a point of no return. GitHub Desktop lets you rebuild a local commit with Undo or...
History, Diffs, and Web Commits on GitHub
GitHub lets you read repository history, inspect individual commit diffs, view the history of one file, and create a small...
ANSI Color Table for Python π¨
ANSI escape codes can change terminal text colors. Print a color code before the text and a reset code after...
Statistics by categories
Author's article distribution by topics
Django
63 articles
Python
54 articles
Git ΠΈ GitHub
32 articles
Html Css
23 articles
LLM ΠΈ AI
21 articles