Python & Gemini API: Writing Your First Script

If you’ve been using AI through a web interface, you’re only scratching the surface. The real magic happens when you move to code—allowing you to automate repetitive workflows, process data in bulk, and build intelligent features directly into your own toolkits. Moving forward, you’ll need an API (Application Programming Interface) Key, so that AI calls … Read more

Building a Lightweight Python GUI App with SQLite in Under 30 Lines of Code

Today, we are going to build a Graphical User Interface (GUI) application that connects to a local database and fetches data. The best part? We’ll accomplish the entire setup—database creation, UI layout, and data fetching—with just a few lines of clean, straightforward Python code. Let’s delve right into it! Step 1: Prerequisites & Installation Before … Read more

Python – a Quick Tutorial

This tutorial is designed to get you up and running with the essentials of Python very quickly. Python is a high-level, readable language that uses indentation (spaces) instead of curly braces {} to define code blocks. On Linux, Python is already installed in most cases. On Windows, you may install it from Python Releases for … Read more

The Ultimate Polyglot Experiment: Mixing PHP, Python, and JavaScript in One App

Ever wondered what happens when you combine three of the most popular programming languages into a single execution flow? In this tutorial, we’re going to build a fun, quirky “polyglot” project. We will use PHP as our server-side entry point, which will execute a Python script behind the scenes to generate an HTML page, which … Read more

Using XlsxWriter in Django 5 to output Excel sheets

In this tutorial we’ll use XlsxWriter Python module in order to generate Excel sheets from within a Django 5 application. Prerequisites: A Unix-like system (Linux, macOS, or WSL) and Python 3 installed. Let’s open the terminal and execute following command to create a new folder: Go inside this newly created folder: Then create virtual environment … Read more

Business reporting in Django 5 using ReportLab

In this tutorial we’ll see various business reporting and documents generated by utilizing ReportLab library from within a Django 5 application. Prerequisites: A Unix-like system (Linux, macOS, or WSL) and Python 3 installed. Let’s open the terminal and execute following command to create a new folder: Go inside this newly created folder: Then create virtual … Read more

Django 5 + ReportLab: Generate Dynamic PDFs from your Database

If you caught our previous tutorial, you saw how the ReportLab library works inside a Django 5 environment. Now, let’s up the ante. In this guide, we will build a complete Django 5 application that pulls real data from a database and compiles it dynamically into clean, downloadable PDF files. Prerequisites: A Unix-like system (Linux, … Read more

Using ReportLab in Django 5

In this tutorial, we’ll learn how to generate PDF file using ReportLab library from within Django 5 project. This tutorial assumes that you are using Linux-based system, macOS or WSL and you already have Python3 installed in your system. So, let’s open the terminal and execute following command to create a new folder: Go inside … Read more

Django REST Framework

In this tutorial we’ll explore Django Rest Framework. This tutorial assumes that you are using a Linux-based system, macOS or WSL and you already have Python3 with venv installed in your system. So, let’s first create a new folder by entering following command: Now, go inside this newly created folder: Then create virtual environment: And … Read more