Python Code Tutorials


articles/fraud-transactions-detector-with-kafka-python.jpg
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.

articles/imbalancedata_yVSlYfN.png
Imbalance Learning With Imblearn and Smote Variants Libraries in Python

Learn how to overcome imbalance related problems by either undersampling or oversampling the dataset using different types and variants of smote in addition to the use of the Imblearn library in Python.

articles/ip-spoofing-using-scapy-in-python.jpg
How to Perform IP Address Spoofing in Python

Master IP spoofing with Python: Dive into crafting fake IP addresses to test network security. Utilize Scapy and Faker in a hands-on tutorial to send spoofed ICMP packets, complete with practical examples and step-by-step instructions.

articles/another-example.png
How to Perform Image Segmentation using Transformers in Python

Learn how to use image segmentation transformer model to segment any image using huggingface transformers and PyTorch libraries in Python.

articles/make-a-sudoku-game-in-python.jpg
How to Build a Sudoku Game with Python

Learn how to build your own Sudoku game in Python using Pygame with this comprehensive tutorial. Covering installation, game logic, user interface, and a timer feature, this guide is perfect for enthusiasts looking to create a functional and extendable Sudoku puzzle game.

articles/markdown-file-editor-in-python.jpg
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.

articles/control-generated-images-with-controlnet.jpg
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.

articles/crud-app-with-pyqt5-and-sqlite3_compressed_Gzhtgc9.jpg
How to Build a CRUD App with PyQt5 and SQLite3 in Python

Learn to build a sleek, fully-functional CRUD app using PyQt5 and SQLite3 in Python. This comprehensive tutorial takes you from setting up your database to creating a stylish user interface. Ideal for those looking to transition from Tkinter and create more customizable, native-looking GUI apps.

articles/create-a-blog-app-using-django.jpg
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.

articles/tokenization-stemming-and-lemmatization-with-python.jpg
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.

articles/voice-recorder-gui-app-using-tkinter-in-python.jpg
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.

articles/visual-question-answering-with-transformers_compressed.jpg
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.

articles/handling-files-in-python-using-os-module.jpg
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.

articles/create-a-custom-wordlist-in-python.jpg
How to Create a Custom Wordlist in Python

Learn how to build a custom wordlist generator with options of minimum and maximum characters, and more with itertools in Python.

articles/how-to-make-spyware-in-python.jpg
How to Build Spyware in Python

Create a spyware in Python in this guide. Learn to build a surveillance tool that captures live video streams via a client-server architecture, with practical insights into network communication and video handling using OpenCV.

articles/generating-fake-user-data-in-python.jpg
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.