Python

27
Minimize HTML using Python with CLI

Minimize HTML using Python with CLI

In a previous post, I showed you how-to minimize your HTML using Python. Well, the script will help you minimize your HTML but how about if you didn't want to edit the script each time you wanted to minimize a HTML file? This is where this tutorial comes in.

Minimize CSS using Python with CLI

Minimize CSS using Python with CLI

In a previous post, I showed you how-to minimize your CSS using Python. Well, the script will help you minimize your CSS but how about if you didn't want to edit the script each time you wanted to minimize a CSS file? This is where this tutorial comes in.

Convert Storage Sizes using Python

Convert Storage Sizes using Python

The following are two Python scripts that will allow you to convert storage sizes. Example usage of the above script: The next script will allow an end user to set the value, source unit and the destination unit:

Convert Time Zones using Python

Convert Time Zones using Python

The following are two Python scripts to convert time zones. The second Python script I will share with you will allow the end user to enter the time zones.

Convert Currencies using Python

Convert Currencies using Python

The following are two Pythong scripts that will allow you or an end user convert currencies. To use these scripts, you'll need to install the forex-python library, which you can do by running pip install forex-python in your terminal.

You’ve successfully subscribed to Brandon Himpfen
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.