Python Posts
Posts about Python.
-
How to add CRLF to a Python string
How to add CRLF to python string. It's simple. Just add \r\n to the string.
-
Python Porter Stemmer Reference
Porter stemmer implementation in Python
-
Python 3: Sorting a List of Objects or Dictionaries by Multiple Keys Bidirectionally
Methods for sorting lists containing dictionaries or objects. sorted also allows your key function to return a tuple of values if you wish to sort your list by more than one key.