Python Code Tutorials

How to Make a Markdown Editor using Tkinter in Python

Learn how you can create a markdown editor using the Tkinter library and regular expressions in Python.

How to Make a Blog using Django in Python

Learn how to build a simple blog from scratch using the Django framework and Bootstrap styling in Python.

How to Control Generated Images by Diffusion Models via ControlNet in Python

Learn how you can control images generated by stable diffusion using ControlNet with the help of Huggingface transformers and diffusers libraries in Python.

How to Implement the Vigenère Cipher in Python

Step-by-step guide to implementing the Vigenère Cipher in Python. Understand its mechanism, strengths, and vulnerabilities, with practical examples for encryption and decryption.

Python vs. JavaScript, Which Is Better for Scraping?

Learn the pros and cons of Python and Javascript programming languages when it comes to web scraping.

Tokenization, Stemming, and Lemmatization in Python

This article discusses the preprocessing steps of tokenization, stemming, and lemmatization in natural language processing. It explains the importance of formatting raw text data and provides examples of code in Python for each procedure.

How to Build a GUI Voice Recorder App in Python

Learn how to build a voice recorder GUI app using Tkinter and sounddevice libraries in Python.

Visual Question Answering with Transformers in Python

Learn the current state-of-the-art models (such as BLIP, GIT, and BLIP2) for visual question answering with huggingface transformers library in Python.

How to Make a Bluetooth Device Scanner in Python

Master Bluetooth device scanning with Python: A concise tutorial on using PyBluez for discovering and analyzing nearby Bluetooth devices, essential for cybersecurity and ethical hacking.

How to Make a Todo App using Django in Python

Learn how you can build a simple Todo application using the Django framework, crispy forms and Bootstrap in Python;

Handling Imbalanced Datasets: A Case Study with Customer Churn

Learn how to handle one of the main data science common problems, which are imbalanced datasets, how to deal with them using SMOTE, tweaking class weights, and resampling in Python.

How to Make a Hangman Game in Python

Learn how to make a hangman game to guess a word in Python using the standard library.

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.

How to Build an Authentication System in Django

Learn how you can build a simple authentication system (sign up, login, and logout) using the Django framework and Bootstrap in Python.

How to Build a Dictionary App with Tkinter in Python

Learn how to build a nice GUI dictionary app with audio pronounciation using the Tkinter library in Python.

How to Create an Alarm Clock App using Tkinter in Python

Learn how to build a simple alarm clock app using tkinter and playsound libraries in Python.