def __init__(self, url, **kwargs):
for key in kwargs.keys():
url = url.replace('%%s%' % key, str(kwargs[key]))
File "/home/wells/py-mlb/lib/fetcher.py", line 25, in __init__
url = ...
I have a string in a django/python app and need to search it for every instance of [x]. This includes the brackets and x, where x is any number between 1 ...