def get_querystring ( uri ) : parts = urlparse . urlsplit ( uri ) return urlparse . parse_qs ( parts . query )
python get query strinng from url
Get Querystring information from uri .
def get_querystring(uri):
    """Get Querystring information from uri.

    :param uri: uri
    :return: querystring info or {}
    """
    parts = urlparse.urlsplit(uri)
    return urlparse.parse_qs(parts.query)