Python Code Tutorials


articles/extract-network-usage-in-python.jpg
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

articles/how-to-make-buttons-in-pygame.jpg
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.

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

articles/dimensionality-reduction-using-feature-extraction-sklearn.jpg
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.

articles/make-a-simple-math-quiz-game.jpg
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.

articles/dropout-regularization-in-pytorch-python.jpg
Dropout Regularization using PyTorch in Python

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

articles/named-entity-recognition-using-transformers-and-spacy.jpg
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.

articles/logistic-regression-in-pytorch.jpg
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.

articles/crud_bookshop.jpg
How to Build a CRUD App with Flask and SQLAlchemy in Python

Learn how to create a CRUD application as a RESTful API using Flask and SQLAlchemy, making a Bookshop web application as a demonstration in Python.

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.