easy way to change a dict data to url Parameter ..

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-06-05T07:45:32Z Indexed on 2010/06/05 7:52 UTC
Read the original article Hit count: 122

(1)

a={'b':'bbbb','c':'ccc',....}

(2)

self.redirect('/tribes/view?b=' + a['b'] + '&c=' + a['c'])

so i want to get

b=' + a['b'] + '&c=' + a['c'] ...

from dict a

hae any easy way to do this ?

thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine