Skip to content

Instantly share code, notes, and snippets.

@vireshas
Last active May 1, 2018 10:32
Show Gist options
  • Save vireshas/9505477 to your computer and use it in GitHub Desktop.
Save vireshas/9505477 to your computer and use it in GitHub Desktop.
convert url params to python dict
url_params = "a=b&c=d&e=f&g=h"
dict([i.split('=') for i in url_params.split("&")])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment