Suppose I have
window_location = 'http://stackoverflow.com/questions/ask'
href = '/users/48465/jader-dias'
I want to obtain
link = 'http://stackoverflow.com/users/48465/jader-dias'
How do I do it in Python?
It have to work just as it works in the browser
From the doc page of urlparse.urljoin: