Implementation of TagTime in Python 3