#NEWLINE# def url_and_params( urlbase , params ) : #NEWLINE# #INDENT# assert ( '?' not in urlbase ) #NEWLINE# return '{url}?{params}' . format ( url = urlbase , params = urllib . urlencode ( params ) )