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 Python Version in Colab?

To check your Python version in Google’s Colab, type !python ‐‐version using the exclamation mark ! operator in your Jupyter Notebook cell and click on the “Run” icon. After a couple of seconds an output like Python 3.9 will appear, depending on the version you’ve installed. In Jupyter notebooks, the exclamation mark ! executes commands … Read more

How to Change File Permissions in Python?

Problem Formulation and Solution Overview When a new file or folder is created, it comes with its own set of default permissions. From time to time, you will need to adjust these permissions. To follow this article, download the finxter.csv file and move this file to the current working directory. What are File Permissions? File … Read more

How to Modify Images using Pillow

Problem Formulation and Solution Overview This article will show you how to use the Pillow Library in Python to modify and manipulate images. To make it more interesting, we have the following running scenario: Creative Prints is an online store accepting images from Photographers wishing to sell their art. The Manager would like you to … Read more

Python CSV to UTF-8

This article concerns the conversion and handling of CSV file formats in combination with the UTF-8 encoding standard. πŸ’‘ The Unicode Transformation Format 8-Bit (UTF-8) is a variable-width character encoding used for electronic communication. UTF-8 can encode more than 1 million (more or less weird) characters using 1 to 4 byte code units. Example UTF-8 … Read more