Matching Snippets

19 September, 2013   

Function to test for the existence of at least 1 matching row, without having to count them all!

Several hundred user notes on the str_replace page later, and we have a function that provides a variety of text highlighting options for plaintext or HTML strings.

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

11 April, 2011   

Specifications of the TOPIC database format, a standardized structure for plain text databases that's easy to read and edit in most text editors, and easy to programmatically parse as well.