Python Code Tutorials

How to Make a Markdown Editor using Tkinter in Python

Learn how you can create a markdown editor using the Tkinter library and regular expressions in Python.

How to Plot Weather Temperature in Python

Learn how to make an interactive plot that shows the temperatures forecast in a given city with matplotlib and requests libraries in Python.

Autoencoders for Dimensionality Reduction using TensorFlow in Python

Learn how to benefit from the encoding/decoding process of an autoencoder to extract features and also apply dimensionality reduction using Python and Keras all that by exploring the hidden values of the latent space.

Zipf's Word Frequency Plot with Python

Learn how to make plots with Python and matplotlib by checking texts for their word frequency distributions.

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.

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.

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.

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.

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.

How to Make a Planet Simulator with PyGame in Python

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

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.

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.

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.

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.