question: how to clare the absolute url in a html file

Arne Ludwig arne at citde.net
Thu Mar 23 16:53:42 CET 2006


Perhaps this is what he means:

re.sub("http://[^/]*/","/","http://palle.fi/wing/walla.htm")
'/wing/walla.htm'




More information about the Python-list mailing list