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!

Output

http://example.com/page/1

http://example.com/page/2

http://example.com/page/3

http://example.com/page/4