(self, lst)
Takes a list of strings, and sets the path component of the URL.

            Components are quoted.
Takes a list of strings, and sets the path component of the URL.
Takes a list of strings and sets the path component of the URL .
def set_path_components(self, lst):
        """
            Takes a list of strings, and sets the path component of the URL.

            Components are quoted.
        """
        lst = [urllib.quote(i, safe="") for i in lst]
        path = "/" + "/".join(lst)
        scheme, netloc, _, params, query, fragment = urlparse.urlparse(self.get_url())
        self.set_url(urlparse.urlunparse([scheme, netloc, path, params, query, fragment]))
def set_path_components ( self , lst ) : lst = [ urllib . quote ( i , safe = "" ) for i in lst ] path = "/" + "/" . join ( lst ) scheme , netloc , _ , params , query , fragment = urlparse . urlparse ( self . get_url ( ) ) self . set_url ( urlparse . urlunparse ( [ scheme , netloc , path , params , query , fragment ] ) )