starting a Python lexer