En Thu, 21 Jun 2007 23:37:07 -0300, <[EMAIL PROTECTED]> escribió:

> So for example if I wanted to navigate to an encoded url
> http://online.investools.com/landing.iedu?signedin=true rather than
> just http://online.investools.com/landing.iedu   How would I do this?
> How can I modify the script to urlencode these parameters:
> {signedin:true}     and to associate them with a specific url from the
> urlList

If you want to use GET, append '?' plus the encoded parameters to the  
desired url:

py> data = {'signedin':'true', 'another':42}
py> print urlencode(data)
signedin=true&another=42

Do not use the data argument to urlopen.

-- 
Gabriel Genellina

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

Reply via email to