[24 Jan 2023] Python: Handling newline \n
in text or 'plain' raw string
This code is for my short article in Medium, outlining how to handle newline \n
pattern in text by leveraging the regex flag re.DOTALL
within Python.
[26 Dec 2022] How is preference approached in selecting methods from multiple classes when inherited in Python?
This code is for my short article in Medium, which explores the order of preference (level linearisation) that is followed in Python.
Unlike in (some) other languages like Java, AFAIK, Python allows inheriting more than one base class.