Python

Elasticsearch: Generate Configuration With Python Jinja 2

This article explains how to generate the configuration for Elasticsearch using Python templating engine Jinja 2 by going through a basic use-case. It also explains features about Jinja2, testing, and more.

11 Apr 2021

Measure Coverage with Coverage.py

Experience sharing on code coverage measurement of Python program using Coverage.py.

02 Sep 2019

Understanding ISO-8859-1 / UTF-8

Character mapping between ISO-8859-1 / UTF-8, decode and encode data between string and bytes, and file I/O operations including MIME encoding detection. All examples are written in Java and Python 3.

07 Apr 2019

Python 3 Basic Syntax

The basic syntax to learn before writing code in Python 3.

07 Jul 2018