<div dir="ltr">Hi,<br><br>I'm currently trying to parse relative URLs, but I want to make them absolute. In other words, I want to normalize the URLs. However, I don't want to have to write this logic myself if it is already provided. I was thinking of somehow tricking os.path.normpath() as a last resort. This is for subversion URLs, for those wondering. Basically, I need to turn the following URL:<br>
<br>svn://myserver/foo/bar/trunk/../tags<br><br>Into this:<br><br>svn://myserver/foo/bar/tags<br><br><br>Does anyone know a way I can do this? Thanks.<br></div>