On Thu, Feb 20, 2014 at 7:15 AM, Kevin Glover <[email protected]> wrote: > Thank you both so much. I had tried % but not successfully.
To do it with %, just do this:
whatever = "cat"
results = w.search("\"of the %s's\""%whatever, type=ALL, start=1, count=1)
Use either that or .format(), whichever you like - both are fully
supported, and they have different strengths.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
