def split_url(url):
 (scheme, remainder) = splittype(url)
 (host, path) = splithost(remainder)
 return (scheme.lower(), host, path)

def split_url ( url ) : ( scheme , remainder ) = splittype ( url ) ( host , path ) = splithost ( remainder ) return ( scheme . lower ( ) , host , path )
splits a url into .