Python call to parser