✍️Python

Using Python to Post Stories on Instagram

Have you ever wanted to post stories on Instagram in an automated fashion? In this article, I will show you how to use Python and the Instagram-API-python library to do exactly that. Fasten your seatbelts and let's get started!

(503 words)

Alpha Version of Practical Python Projects Book Released!

I just released the alpha version of my much anticipated Practical Python Projects book! It has been two years in the making and I am super excited about its release. In 320+ pages we will implement 12 different projects. I wish I had access to a similar book when I started learning Python.

(865 words)

Working With Messy Data Using Pandas in Python

Have you ever had to process some messy data? I recently worked on a project where I had to tame some messy data using Pandas in Python. In this short tutorial, I will teach you some data wrangling basics that will help you process most datasets you will ever encounter in the wild.

(1031 words)

Understanding and Decoding a JPEG Image using Python

We all use JPEG images every day and almost every software supports JPEG but most of us don't know how the JPEG compression algorithm works under-the-hood. Come with me on an adventure where we uncover and understand the JPEG algorithm and then write some Python code to decode a JPEG image.

(6964 words)

9 Tips For Better Scripting Experience

Learn about some general scripting tips that will help you level up your scripting game. I learned them the hard-way but you don't have to.

(1831 words)

Python mind-teaser: Make the function return True

I came across this teaser on Reddit. It took me some time to figure out the solution. Look at the question and see if you can figure it out on your own before looking at my detailed writeup.

(519 words)

Setting up dev environment for SciPy

Someone recently reached out and asked me how to setup a dev environment for SciPy. Read this article to find out how.

(362 words)

Speeding up Python code using multithreading

Oftentimes people complain about Python being slow without realizing that there are simple solutions to their problems. Learn about how to leverage multiprocessing in Python and speed up some of your scripts by 10x or more.

(457 words)

Running Python in the Browser

I wasn't aware about the different solutions for running Python in the browser so I invited Shaun from Anvil to give us a run-down of what is available out there.

(1809 words)