pyGrimmInterface working for py2 and 3