def create_search_url(self):
        """ Generates (urlencoded) query string from stored key-values tuples

        :returns: A string containing all arguments in a url-encoded format
        """

        url = '?'
        for key, value in self.arguments.items():
            url += '%s=%s&' % (quote_plus(key), quote_plus(value))
        self.url = url[:-1]
        return self.url
def create_search_url ( self ) : url = '?' for key , value in self . arguments . items ( ) : url += '%s=%s&' % ( quote_plus ( key ) , quote_plus ( value ) ) self . url = url [ : - 1 ] return self . url
Generates (urlencoded) query string from stored key-values tuples

        :returns: A string containing all arguments in a url-encoded format