code: def create_search_url(self):
          
  
          if len(self.searchterms) == 0:
              raise TwitterSearchException(1015)
  
          url = '?q='
          url += '+'.join([quote_plus(i) for i in self.searchterms])
  
          if self.attitude_filter is not None:
              url += '+%s' % quote_plus(self._attitudes[0 if self.attitude_filter else 1])
  
          if self.source_filter:
              url += '+%s' % quote_plus(self._source + self.source_filter)
  
          if self.link_filter:
              url += '+%s' % quote_plus(self._link)
  
          if self.question_filter:
              url += '+%s' % quote_plus(self._question)
  
          for key, value in self.arguments.items():
              url += '&%s=%s' % (quote_plus(key), (quote_plus(value)
                                                   if key != 'geocode'
                                                   else value))
  
          self.url = url
          return self.url
docs: Generates (urlencoded) query string from stored key-values tuples
  
          :returns: A string containing all arguments in a url-encoded format