Duncan Booth duncan.booth at invalid.invalid
Thu Jun 26 19:11:16 CEST 2008

zowtar <zowtar at gmail.com> wrote:

> urlencode({'page': i, 'order': 'desc', 'style': 'flex power'})
> return:
> page=1&order=desc&style=flex+power
> but I want:
> page=1&order=desc&style=flex%20power
> and url.quote don't put the &'s and ='s
> any idea guys?

Why does it matter to you? The + means exactly the same as %20. When the 
server decodes the parameter it will get the space back whichever form you 

More information about the Python-list mailing list