Python Code Tutorials


articles/preview.png
How to Make a Rich Text Editor with Tkinter in Python

Learn how to make a simple rich text editor where we can set a number of predefined styles for parts of the text via a Graphical User Interface (GUI) using Tkinter in Python.

articles/top_libraries_for_every_python_programmer_QoQraND.png
Top 9 Python Libraries For Data Scientists and Machine Learning Engineers

Top python libraries and modules that every data scientist and machine learning engineer must know, learn and master.

articles/how-to-use-the-argparse-module-in-python.jpg
How to Use the Argparse Module in Python

Master the argparse module in Python with this comprehensive tutorial, covering command-line applications, argument parsing, real-world examples, integration with other libraries, and best practices to create user-friendly interfaces and powerful command-line tools.

articles/crack-hashes-in-python.jpg
How to Crack Hashes in Python

Learn how to crack hashes using Python's hashlib library and a brute-force approach with a wordlist. Gain insights into various hashing algorithms and understand the importance of secure data handling.

articles/using-regular-expressions-in-python.PNG
How to Use Regular Expressions in Python

Learn how to use Python's built-in re module to use several string matching techniques using functions like match, search, finditer and sub.

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/116879075_2581157881987080_2223475793497975882_n.jpg
Algorithmic Trading with FXCM Broker in Python

Learn how to use the fxcmpy API in Python to perform trading operations with a demo FXCM (broker) account and learn how to do risk management using Take Profit and Stop Loss

articles/speech-recognition-in-python_compressed.jpg
Speech Recognition in Python

Learn how to do Automatic Speech Recognition (ASR) using APIs and/or directly performing Whisper inference on Transformers in Python

articles/calculate-bleu-score-in-python.jpg
How to Calculate the BLEU Score in Python

Deep-dive into the BLEU Score: A guide to understanding BLEU (Bilingual Evaluation Understudy), a vital metric in NLP. Learn how it evaluates machine-generated sentences against human references in text summarization, translation, and more with NLTK in Python.

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/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/how-to-make-spyware-in-python.jpg
How to Build Spyware in Python

Create a spyware in Python in this guide. Learn to build a surveillance tool that captures live video streams via a client-server architecture, with practical insights into network communication and video handling using OpenCV.

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