Python Code Tutorials


articles/pong-game-with-pygame_compressed.jpg
How to Create a Pong Game in Python

Discover how to craft a Pong game with Python and Pygame through a comprehensive tutorial, gaining hands-on game development skills. Learn key concepts like rendering graphics, managing game state, and handling user input while bringing your code to life in this engaging guide.

articles/sentiment-analysis.png
Sentiment Analysis using VADER in Python

Learn how you can easily perform sentiment analysis on text in Python using vaderSentiment library.

articles/feature-selection-using-sklearn-in-python.png
Feature Selection using Scikit-Learn in Python

Learn how to use Scikit-Learn library in Python to perform feature selection with SelectKBest, random forest algorithm and recursive feature elimination (RFE).

articles/handling-files-in-python-using-os-module.jpg
Automate Reports with Python

Learn how to automate report generation with Python in this article. Explore the process from environment setup to data preparation, report creation, customization, error handling, and security. Discover Python's versatility and efficiency in transforming the traditional way of preparing reports, saving time, and enhan

articles/explainable-ai-in-python.png
A Guide to Explainable AI Using Python

An overview of model explainability and interpretability fundamentals, AI applications, and biases in AI model predictions. We looked at utilizing SHAP and LIME to explain a Logistic Regression model and how to explain and interpret an ensemble model.

articles/making-a-text-editor-using-tkinter-python.jpg
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

articles/plotly-example-plots_1.png
How to Create Plots with Plotly In Python

Learn how to use the visualization tool Plotly to implement and create dynamic plots and figures (such as scatters, histograms, and candlesticks) in Python.

articles/dns-enumeration-with-python.jpg
How to Perform DNS Enumeration in Python

Learn how you can extract DNS information of a domain name such as nameservers, IP addresses, email services and more using dnspython library in Python.

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/handling-files-in-python-using-os-module.jpg
How to Add a TLS/SSL Certificate in Python Code

Learn how to secure your Python applications with TLS/SSL certificates. Understand the importance of these cryptographic protocols, and grasp how to integrate SSL certificates into Python code using requests library.

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/image-captioning-using-pytroch-and-transformers_8x6hgus.png
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.

articles/make-a-bluetooth-scanner-in-python.jpg
How to Make a Bluetooth Device Scanner in Python

Master Bluetooth device scanning with Python: A concise tutorial on using PyBluez for discovering and analyzing nearby Bluetooth devices, essential for cybersecurity and ethical hacking.

articles/finetuning-vit-for-image-classification-using-transformers.jpg
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.

articles/text-adventure-game-in-python.jpg
How to Make a Text Adventure Game in Python

Learn how to make a simple text adventure game with Python using the os, json, and pyinputplus modules.

articles/accounting-app-using-django-in-python.jpg
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.




🕒 Limited-Time Offer!
EBook Image

Web Security Week Special! Get our Cybersecurity eBook Bundle at 40% off. Limited time only!

$68.0 $40.8