Python Code Tutorials

How to Make a Drawing Program in Python

Learn how to make a simple drawing tool with brush color and size changing feature using PyGame library in Python.

How to Make a Text Editor using Tkinter in Python

Learn how to build a simple text editor that opens and saves text files using Tkinter library 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 Buttons in PyGame

Learn how to make buttons in PyGame that support pressed calling (multi pressing) and one-shot pressing in Python.

K-Fold Cross Validation using Scikit-Learn in Python

Learn how you can perform K-Fold cross validation technique using the scikit-learn library in Python.

Dimensionality Reduction: Feature Extraction using Scikit-learn in Python

Learn how to perform different dimensionality reduction using feature extraction methods such as PCA, KernelPCA, Truncated SVD, and more using Scikit-learn library 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.

Dropout Regularization using PyTorch in Python

Learn the importance of dropout regularization and how to apply it in PyTorch Deep learning framework in Python.

Named Entity Recognition using Transformers and Spacy in Python

Learn how you can perform named entity recognition using HuggingFace Transformers and spaCy libraries in Python.

Logistic Regression using PyTorch in Python

Learn how to perform logistic regression algorithm using the PyTorch deep learning framework on a customer churn example dataset in Python.