Python 2.x helper library