Make a relative url path from an absolute path to another one
Gilles Lenfant
glenfant at NOSPAM.bigfoot.com
Mon Oct 27 10:02:36 EST 2003
"Thomas Guettler" <guettli at thomas-guettler.de> a écrit dans le message de
news: pan.2003.10.27.14.14.51.124045 at thomas-guettler.de...
> Am Mon, 27 Oct 2003 15:18:38 +0100 schrieb Gilles Lenfant:
>
> > Hi,
> >
> > I'm sometimes brain dead for a simple problem like this one :
> >
> > Given an origin absolute URL and a destination absolute URL, I want to
make
> > a relative path from the origin to the destination.
>
> I did this some time ago:
> http://guettli.sourceforge.net/gthumpy/src/relative_url.py
>
> Hope that helps,
> Thomas
>
It helped of course (it's exactly what I needed)
Many thanks Thomas
--
Gilles
More information about the Python-list
mailing list