Start here in Python

The most useful guides in this topic, not just the most recent.

50+ Free Guides

Python Guides & Tutorials

Learn Python the right way — syntax, data structures, OOP, libraries, APIs and project ideas that build a hire-ready portfolio.

Python articles

Python
6 May 2026 7 min

Error Handling in Python: try, except and Best Practices

How to handle errors in Python so failures are visible and recoverable: the exact order try, except, else and finally run in, why a broad except hides bugs, designing custom exceptions, chaining with raise from, logging tracebacks, and retrying only what is worth retrying.

GloryTecks Team
Read
Python
6 May 2026 5 min

Datetime in Python: Working with Dates and Times

The datetime rules that prevent real bugs: why naive and aware datetimes cannot be compared, how to attach and convert time zones with zoneinfo, parsing ISO strings and custom formats, formatting for people, and why adding one day is not always 24 hours.

GloryTecks Team
Read
Python
6 May 2026 6 min

Building REST APIs with Python: A Practical Guide

The design decisions behind a REST API that other programs can depend on: resource URLs, what GET, POST, PUT and DELETE promise, the status codes that matter, validation at the boundary, one error format, and pagination. Shown with a small Flask API exercised through its test client.

GloryTecks Team
Read
Python
6 May 2026 5 min

Flask vs FastAPI vs Django: Which to Choose in 2026

Flask, FastAPI and Django compared on what actually differs: what each includes out of the box, how validation, async and data access work, the same small endpoint written in all three, and which one fits a content site, a JSON API, an ML service or an internal tool.

GloryTecks Team
Read
Python
6 May 2026 6 min

Python *args and **kwargs Explained Clearly

What *args and **kwargs really are: a tuple and a dictionary that collect extra arguments, and the same symbols unpacking values when you call a function. With the full parameter order, positional-only and keyword-only markers, forwarding arguments through wrappers, and the silent typo that **kwargs can swallow.

GloryTecks Team
Read
Python
6 May 2026 7 min

Python Mini Projects to Build in a Weekend

Weekend projects fail when they are too big to finish by Sunday night. The fix is scoping: a core you can build on Saturday and improvements for Sunday. Three mini projects are scoped that way here, a weather and bike-rental explorer, a safe file organiser and a habit tracker, with each Saturday core built and run.

GloryTecks Team
Read