Hi,

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:

svn://myserver/foo/bar/trunk/../tags

Into this:

svn://myserver/foo/bar/tags


Does anyone know a way I can do this? Thanks.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to