Quantcast
Channel: parsing a url in python with changing part in it - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Peter Wood for parsing a url in python with changing part in it

>>> import urlparse>>> url = 'http://example.com/wps/portal/lYuxDoIwGAYf6f9aqKSjMNQ/?PartNo=74743&IntNumberOf=&is='>>> split_url = urlparse.urlsplit(url)>>>...

View Article



parsing a url in python with changing part in it

I'm parsing a url in Python, below you can find a sample url and the code, what i want to do is splitting the (74743) from the url and make a for loop which will be taking it from a parts list. Tried...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images