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

Arne Ludwig arne at citde.net
Thu Mar 23 10:53:42 EST 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