finding contents from string

Praveen Boppana vaayu at ymail.com
Tue Feb 16 07:25:45 EST 2010


It looks like you want to extract the query parameters from standard url's. There is a standard Python module to accomplish this:

http://www.python.org/doc/2.5.2/lib/module-urlparse.html



________________________________
From: danin <gawade.ninad at gmail.com>
To: python-list at python.org
Sent: Tue, 16 February, 2010 4:13:09 PM
Subject: finding contents from string

Hi all,
        I am looking for particular solution. I am having one string
say:
string- "http://maps.google.co.in/maps/ms?
hl=en&ie=UTF8&msa=0&msid=106178526636832397420.00047fb46fa8d02481f09&ll=20.730428,86.456909&spn=2.178194,3.526611&z=8
"
          and from this string  i need to extract value
-20.730428,86.456909. These value are dynamic so i cant use filter. So
can anyone please tell me about how to do this.
-- 
http://mail.python.org/mailman/listinfo/python-list



      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100216/485fad82/attachment.html>


More information about the Python-list mailing list