Generate test data, unique ids, passwords, vouchers or other randomized textual data very quickly using a template language. The template language is superficially similar to regular expressions but instead of defining how to match or capture strings, it defines how to generate randomized strings.
Maybe I could use these as password cracking dictionaries?
How to clean punctuation marks out of strings represented as lists in Python without needing to build or import a full text parser. The second answer is the most straightforward but not necessarily the most Pythonic.
python strings lists parsing punctuation cleanup howto