python

Python installing a package as a non root user, with an example openpyxl installation.

In this article I will list down the steps that are needed to install a python package being a non root user. As an example I will show the installation process for “openpyxl”  package.

Step1: Download the package using “wget” or directly visiting the package’s official downloads page.

Python Mako template using dictionaries and arrays

Templating is a common technique used to avoid repetitive coding, also used to separate data from logic. Mako is one of the popular python template engines. In this tutorial I will show an example of Mako template that is used to constructs an "Invoice" form using dictionaries and arrays. Also a python script is given that can process this Mako template with dictionaries and arrays.