Check Python Version: A Simple Illustrated Guide

The Best Way to Check Python Version (3 Easy Steps): To check your Python version, run python ‐V in your command line (Windows), shell (Mac), or terminal (Linux/Ubuntu). To check your Python version in your script, run import sys to get the module and use sys.version to find detailed version information in your code. In … Read more

How I Built a Virtual Assistant like Siri using ChatGPT Prompting (No Code!)

Siri sucks. 😞 I am a Siri user, and Siri fails me more than it performs for me. It doesn’t understand the chain of commands. Project Idea: Recreate Siri Using ChatGPT This got me thinking, “What if I can repurpose ChatGPT to work like Siri?”. So before I tell you how the prompt looks like … Read more

Python ‘termios’ Module Not Found (Easy Fix)

The termios module is a Python built-in module on Unix-like systems such as Linux, Ubuntu, and macOS. See this part of the documentation that shows how it’s only focused on Unix systems: How to Fix any Error: No Module Named ‘termios’? Because termios is part of the Python standard library on Unix operating systems, you … Read more

How to Update Python?

Python gets updated roughly once per year with a major update and security fixes. So, Python’s update cycle is 12 months. The end-of-life, i.e., the period during which one Python version is supported, is normally set to 5 years. The following graphic shows a great screenshot of supported and unsupported Python versions at the time … Read more

How to Check ‘zoneinfo’ Package Version in Python?

In this article, I’ll show you: πŸ’¬ How to check the version of the Python module (package, library) zoneinfo? And how to check if zoneinfo is installed anyways? These are the eight best ways to check the installed version of the Python module zoneinfo: Method 1: pip show zoneinfo Method 2: pip list Method 3: … Read more

How to Check ‘zipimport’ Package Version in Python?

In this article, I’ll show you: πŸ’¬ How to check the version of the Python module (package, library) zipimport? And how to check if zipimport is installed anyways? These are the eight best ways to check the installed version of the Python module zipimport: Method 1: pip show zipimport Method 2: pip list Method 3: … Read more