Create parsers in python