What is lectes? See More lectes is a scanner generator written in Python; you can use it to easily create a scanner by writing Python code. Head to Usage if you want to know how.