Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from urlparse import urljoin
- print urljoin('http://www.example.com/path/file.html',
- 'anotherfile.html')
- print urljoin('http://www.example.com/path/file.html',
- '../anotherfile.html')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement