(url)
return add_http_if_no_scheme(url)
Add an URL scheme if missing: file:// for filepath-like input or
    http:// otherwise.
Add an URL scheme if missing: file:// for filepath-like input or
    http:// otherwise.
Add an URL scheme if missing : file : // for filepath - like input or http : // otherwise .
def guess_scheme(url):
    """Add an URL scheme if missing: file:// for filepath-like input or
    http:// otherwise."""
    if _is_filesystem_path(url):
        return any_to_uri(url)
    return add_http_if_no_scheme(url)
def guess_scheme ( url ) : if _is_filesystem_path ( url ) : return any_to_uri ( url ) return add_http_if_no_scheme ( url )