General Python Tutorials Tutorials


Discussing wide variety of Python topics using various APIs, third party libraries, wrappers, utilities and much more.

How to Generate Fake User Data in Python
How to Generate Fake User Data in Python

Master Python's Faker library to generate and manage fake user data. Ideal for privacy protection and software testing, this tutorial covers creating a versatile program for realistic data generation, including saving options in CSV or TXT formats.

How to Minify CSS with Python
How to Minify CSS with Python

Learn how to utilize cssutils library to minimize CSS files in a web project in Python.

Data Cleaning with Pandas in Python
Data Cleaning with Pandas in Python

Learn how you can clean your dataset in Python using pandas, like dealing with missing values, inconsistency, out of range and duplicate values.

How to Query the Ethereum Blockchain with Python
How to Query the Ethereum Blockchain with Python

Learn how to interact with Ethereum blockchain like retrieving blocks, check for validation, making transactions and more using Python.

How to Generate SVG Country Maps in Python
How to Generate SVG Country Maps in Python

Learn how to use the GADM API to make SVG maps of all world countries in Python.

Zipf's Word Frequency Plot with Python
Zipf's Word Frequency Plot with Python

Learn how to make plots with Python and matplotlib by checking texts for their word frequency distributions.

How to Replace Text in Docx Files in Python
How to Replace Text in Docx Files in Python

Learn how to replace text in Word document files (.docx) using python-docx library in Python.

How to Make a Network Usage Monitor in Python
How to Make a Network Usage Monitor in Python

Learn how to combine psutil and Scapy libraries to make a network traffic monitor per network interface and per process in Python

How to Make a Simple Math Quiz Game in Python
How to Make a Simple Math Quiz Game in Python

Learn how to make a simple math quiz game in Python utilizing the PyInputPlus module to verify the user input.

How to Convert Pandas Dataframes to HTML Tables in Python
How to Convert Pandas Dataframes to HTML Tables in Python

Learn how you can make interactive HTML tables with pagination, sorting and searching just from a pandas dataframe using pandas and jQuery data tables in Python.

How to Create a Watchdog in Python
How to Create a Watchdog in Python

Learn how to monitor and watch your file system for events by creating a watchdog in Python with watchdog and pygtail libraries.

How to Change Text Color in Python
How to Change Text Color in Python

Learn how to use colorama library to print colored text with different colors (such as red, green and blue) in the background and foreground and brightness in Python.

Detecting Fraudulent Transactions in a Streaming App using Kafka in Python
Detecting Fraudulent Transactions in a Streaming App using Kafka in Python

Learn how to detect and filter fraudulent transactions in a streaming application using Apache Kafka with Python API.

Assembly, Disassembly and Emulation using Python
Assembly, Disassembly and Emulation using Python

Learn how to use Keystone engine, Capstone engine and Unicorn engine to assemble, disassemble and emulate machine code (ARM, x86-64 and more) in Python

How to Get Geolocation in Python
How to Get Geolocation in Python

Learn how to use GeoPy library to geocode physical addresses into latitude and longitude and vice versa; getting latitude and longitude from addresses, towns, cities and more in Python.

How to Convert Python Files into Executables
How to Convert Python Files into Executables

Using PyInstaller package to bundle Python applications and all its dependencies into a single stand-alone executables.