Current Web URL

William Abdo william.abdo at
Wed Jan 25 14:38:34 EST 2012

Hi All,

I have been breaking my brains to find a solution to determining what
the current URL is in a web browser navigation bar.

It cannot be a prefixed values since I will not know what platform it is
running from at the time it is opened by the users.

Can this URL be extracted from the navigation bar so it can be parsed?

I tried this "response =
urllib2.urlopen('').geturl()" however it seems to
always to give me the google url and not the one in the navigation bar.

Any Suggestions Please?





William Abdo


This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list