Simple String Generator in Python

Here’s some handy code for generating combinations of strings in Python. Provide a string with substitution variables and a list of iterables, and poof!