Justifying text in a terminal with Python

Have you ever wanted to print text in your terminal to the utmost left while having another text on the same line to the utmost right ?

I bet you once did, and the sought result should look something like this :

A lot of threads out there in the net suggest using extra libraries like curses  and so on, but in this tutorial, we’re gonna use only standard and built-in Python functions.Read the rest