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.ni...@gmail.com>
To: python-list@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/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to