https://stackoverflow.com/questions/1793261/how-to-join-components-of-a-path-when-you-are-constructing-a-url-in-python
>>> from urllib.parse import urljoin >>> urljoin('/media/path/', 'js/foo.js') '/media/path/js/foo.js'
No comments:
Post a Comment