Python Code Tutorials


articles/implement-2fa-in-python.jpg
How to Implement 2FA in Python

Learn how to enhance security with Python by implementing Two-Factor Authentication (2FA) using TOTP and HOTP algorithms. This comprehensive guide covers everything from generating OTPs with pyotp to integrating with authenticator apps.

articles/hangman-gui-game-with-pygame-in-python.jpg
How to Create a Hangman Game using PyGame in Python

Learn how to use PyGame to create a Hangman word guessing game in Python.

articles/alarm-clock-app-using-tkinter-in-python.jpg
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.

articles/zip-file-locker-in-python_compressed.jpg
How to Create a Zip File Locker in Python

Discover how to protect your ZIP files with a custom Python script in this tutorial. Learn to enforce strong passwords using pyzipper and safeguard your data from cyber threats. Perfect for programmers who love to DIY their security tools!

articles/clickjacking-check-python.jpg
How to Make a Clickjacking Vulnerability Scanner with Python

Learn how to create a Python script to detect clickjacking vulnerabilities in websites. This tutorial covers the basics of clickjacking, protection methods, and provides step-by-step instructions to build a simple yet effective clickjacking vulnerability scanner.

articles/make-malware-persistent-in-python.jpg
How to Make Malware Persistent in Python

Learn how to achieve persistence for malware using Python, ensuring it remains active after system reboots. This tutorial guides you through implementing persistence techniques on both Windows and Linux systems, from modifying registry settings to setting up cron jobs.

articles/handling-imbalance-dataset-with-customer-churn-data.jpg
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.

articles/minify-css-files-using-python.jpg
How to Minify CSS with Python

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

articles/extract-gender-from-first-name-tkinter-python.jpg
How to Detect Gender by Name using Tkinter in Python

Learn how to extract gender from first name using genderize.io API and build a GUI around it with Tkinter in Python.

articles/cracking-the-affine-cipher-in-python.jpg
How to Crack the Affine Cipher in Python

Learn to crack the Affine Cipher in Python with this step-by-step guide. Explore classical cryptography, understand modular arithmetic and linear algebra in encryption, and master brute force decryption with practical Python code.

articles/make-a-realtime-spelling-checker-in-python.jpg
How to Make a Real-Time GUI Spelling Checker in Python

Learn how to build a GUI real-time spelling checker using nltk and tkinter libraries in Python.

articles/email-verifier-app-django.jpg
How to Build an Email Address Verifier App using Django in Python

Learn how to build a web-based application in Django that verifies email addresses using email-validator in Python.

articles/news-api-drf-python.jpg
How to Build a News Site API with Django Rest Framework in Python

Learn how to create a news site API from scratch using the Django and Django Rest Framework libraries in Python.

articles/exploit-command-injection-vulnerabilities-in-python.jpg
How to Exploit Command Injection Vulnerabilities in Python

Automate the detection and exploitation of OS command injection vulnerabilities using Python. This comprehensive guide covers setting up a test environment with DVWA and Metasploitable, detecting vulnerabilities, and automating tests with custom scripts.

articles/make-a-twitter-bot-in-python.jpg
How to Build a Twitter (X) Bot in Python

Discover how to create a Twitter bot using Python and Tweepy in this concise guide. Learn to automate tweets with a simple bot that shares dog facts hourly, and delve into setting up a Twitter Developer account, handling API keys, and using OAuth for authentication.

articles/handling-files-in-python-using-os-module.jpg
Why use Python for Data Analysis

Learn what a Data Analyst is and what you should know when using Python programming language for data analysis.




🕒 Black Friday Limited-Time Offer!
EBook Image

Black Friday Week Special! Get our eBook Bundle at 52% off. Limited time only!

$102.0 $49.0