Blog Posts

How to Read a PDF file in Python

September 2, 2022

If you need to read a PDF (Portable Document Format) file in your Python code, then you can do the following:


Read More

How to Convert HEX to RBG in Python

September 1, 2022

If you need to convert HEX (Hexadecimal) to RGB (Red-Green-Blue) in your Python code, then you can do the following:


Read More

How to Refer to a Null Object in Python

August 31, 2022

If you need to refer to a Null Object in your Python code, then you can do the following.


Read More

How to Convert Bytearray to String in Python

August 30, 2022

If you need to convert a Bytearray to a String in Python, then you can do the following:


Read More

How to get the Hostname in Python

August 29, 2022

If you need to get the Hostname in your Python application, then you can do the following:


Read More

How to get the IP Address in Python

August 28, 2022

If you need to get the IP Address in your Python application, then you can do the following:


Read More

How to use SSH in your Python application

August 27, 2022

If you need to make an SSH connection and issues commands over SSH using your Python application, then you can do the following:


Read More

How to Pause a Program in Python

August 26, 2022

If you need to pause the execution of your Python program, then you can do the following:


Read More

How to Convert String to Double in Python

August 25, 2022

If you need to convert a String to a Double in your Python code:


Read More

How to a Run Bash Command in Python

August 24, 2022

If you need to run a bash command in your Python code, then you can do the following:


Read More

How to Force Redeployment of AWS API Gateway using AWS CloudFormation

August 23, 2022

If you have an AWS API Gateway resource, and need it to force a redeployment using CloudFormation, then you can use the TIMESTAMP trick.


Read More

How to Deploy React App to S3 and CloudFront

August 22, 2022

If you would like to deploy a React App to AWS S3 and AWS CloudFront, then you can follow this guide.


Read More

[Solved] export ‘Switch’ (imported as ‘Switch’) was not found in ‘react-router-dom’

August 21, 2022

In react-router-dom v6, Switch is replaced by routes Routes. You need to update the import from:


Read More

How to List all Files/Folders/Directories in Python

August 20, 2022

If you need to list all Files, Folders, or Directories in Python code, then you can use the listdirs method from the os package.


Read More

How to Read a File in Python

August 19, 2022

If you need to read a file in Python, then you can use the open() built-in function to help you.


Read More

How to Drop Columns in Pandas Only If Exists

August 18, 2022

If you have a Pandas DataFrame, and want to only drop columns if they exist, then you can do the following:


Read More

[Solved] An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult:

August 17, 2022

If you are running a GlueJob in AWS and get the following error:


Read More

AWS CDK Commands

August 16, 2022

The AWS Cloud Development Kit (CDK) comes with a list of commands that you need to know:


Read More

How to Make a Java Jar File Executable

August 15, 2022

Let’s say you have a Java project as follows: package ms.


Read More

How to List All Resources in an AWS Account

August 14, 2022

If you need to see a list of all the resources in your AWS Account, then you need to look into the Tag Editor.


Read More