Python Code Tutorials


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/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/password-generator-with-python.png
How to Make a Password Generator in Python

Learn how to make a password generator in Python with the ability to choose the length of each character type using the built-in random, string and argparse modules.

articles/make-a-dictionary-app-with-django-in-python.jpg
How to Build an English Dictionary App with Django in Python

Learn how to build a simple dictionary application using Django web framework and PyDictionary library in Python.

articles/handling-files-in-python-using-os-module.jpg
Python vs. JavaScript, Which Is Better for Scraping?

Learn the pros and cons of Python and Javascript programming languages when it comes to web scraping.

articles/make-a-planet-simulator-in-python.jpg
How to Make a Planet Simulator with PyGame in Python

Learn how to build a planet simulator using pygame library in Python

articles/type_speed_tester_2.png
How to Make a Typing Speed Tester with Tkinter in Python

Learn how to build a UI-based typing speed tester in Python using the built-in Tkinter library.

articles/dimensionality-reduction-using-feature-selection-sklearn-python.jpg
Dimensionality Reduction Using Feature Selection in Python

Learn how to perform dimensionality reduction with feature selection such as recursively eliminating features, handling highly correlated features, and more using Scikit-learn in Python.

articles/replace-text-in-docx-files-python.jpg
How to Replace Text in Docx Files in Python

Learn how to replace text in Word document files (.docx) using python-docx library in Python.

articles/crud_bookshop_ga4rHJR.jpg
How to Build a Complete CRUD App using Flask and Jinja2 in Python

Learn how to build the frontend of a CRUD application using Flask, Jinja2, Bootstrap and SQLAlchemy libraries in Python.

articles/make-a-calculator-app-using-tkinter-in-python.jpg
How to Make a Calculator with Tkinter in Python

Learn how to make a calculator app with various features such as history and formulas using Tkinter library in Python.

articles/make-a-file-explorer-in-python-using-tkinter.jpg
How to Make a File Explorer using Tkinter in Python

Learn how to make a simple file explorer that is able to navigate through folders, create folders and files and more using Tkinter in Python.

articles/make-a-drawing-program-using-pygame-in-python.jpg
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.

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