ing a class with a bunch of empty methods and then redefining them,
I have not seen a good way to do this in Python. Can you recommend the
Pythonic way to do this?
Best regards,
Jason Doege
___
Tutor maillist - Tutor@python.org
http://mail.python.org/ma
dance on how to accomplish this? I'd also like
to be able to add and delete attributes, similarly.
Best regards,
Jason Doege
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi All,
Is there a classical way to implement a lexer in Python without using a
parser toolkit? Something like the lexer MJD illustrates in Higher Order
Perl, section 8.1.2. It's even better if it can act on a stream instead
of a string.
Best regards,
Jason