zowtar <[EMAIL PROTECTED]> 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 
use.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to