I suppose that my proposal to use shlex would really apply to Peter's suggestion.I guess it might also be considered for use in the build_query function of sqlhtml.py.Shlex seems like a great way of using quotes to contain search phrases. I guess Google would be using something similar, and I'm sure that many of us use that feature all the time.