Python Code Tutorials

How to Make a Tetris Game using PyGame in Python

Master the creation of a classic Tetris game using Pygame with this step-by-step tutorial. Learn to handle game logic, user input, and rendering while building your own customizable Tetris clone in Python.

How to Fine Tune ViT for Image Classification using Transformers in Python

Learn how to fine tune the Vision Transformer (ViT) model for the image classification task using the Huggingface Transformers, evaluate, and datasets libraries in Python.

How to Create a Hangman Game using PyGame in Python

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

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.

How to Make an Accounting App with Django in Python

Learn how to build an accounting application using the Django framework and Bootstrap in Python.

How to Make a PDF Viewer in Python

Learn how you can build a PDF viewer GUI from scratch using Tkinter and PyMuPDF libraries in Python.

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.

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 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.

Image Captioning using PyTorch and Transformers in Python

Learn how to use pre-trained image captioning transformer models and what are the metrics used to compare models, you'll also learn how to train your own image captioning model with Pytorch and transformers in Python.

How to Build a Web Assistant Using Django and OpenAI GPT-3.5 API in Python

Learn how to build a web assistant application using Django framework and OpenAI GPT3.5 API 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.

Clustering Algorithms in Machine Learning with Python

This article is a must-read for anyone looking to unlock the full potential of clustering in machine learning! It delves into the world of clustering, exploring different types such as density-based and centroid-based, and introducing lesser-known techniques like hierarchical and monothetic clustering with Python.

A Comprehensive Guide to Non-Intrusive Vulnerability Testing

The article provides an overview of the process of non-intrusive vulnerability assessment, which is a security measure used to identify and fix security flaws in networks, data, and applications. It explains the three types of vulnerabilities that need to be addressed during the process: software, network, and configur