Re: url.encore/quote

2008-06-26 Thread John Salerno
"ianitux" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> and see if that works? I'm not sure if quote() will convert the %20 into >> +, >> though, but it may. > > This is what quot do. > import urllib u = urllib u.quote(u.urlencode({'page': 'i', 'order': 'desc', 'st

Re: url.encore/quote

2008-06-26 Thread ianitux
On 26 jun, 15:53, "John Salerno" <[EMAIL PROTECTED]> wrote: > "zowtar" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > urlencode({'page': i, 'order': 'desc', 'style': 'flex power'}) > > return: > > page=1&order=desc&style=flex+power > > > but I want: > > page=1&order=desc&styl

Re: url.encore/quote

2008-06-26 Thread John Salerno
"zowtar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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?

Re: url.encore/quote

2008-06-26 Thread Duncan Booth
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 +

Re: url.encore/quote

2008-06-26 Thread ianitux
On 26 jun, 12:53, 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? Hi, a quick soluti