SyntaxFix
Write A Post
Hire A Developer
Questions
for Python > 3.4
from urllib import parse url = 'http://foo.appspot.com/abc?def=ghi' query_def=parse.parse_qs(parse.urlparse(url).query)['def'][0]