Can you paste the traceback of the error you are getting?

On Fri, May 7, 2010 at 4:32 PM, Keith Chapman <keith.c...@hotmail.com>wrote:

>    request.set(
>        "<m:getQuote xmlns:m="http://services.samples/xsd";>
>           <m:request>
>              <m:symbol>" + symbol + "</m:symbol>
>           </m:request>
>        </m:getQuote>"
>        )
>    return request
>

  Aside, you might want to use """ (triple quotes) for multi-line strings,
like so:
 """<m:getQuote xmlns:m="http://services.samples/xsd";>""" (so that the
double
  quotes within the string is kept intact.)

-Vikas
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to