Python does not allow a variable named "pass"

Xavier Ho contact at xavierho.com
Sun Apr 11 09:49:42 EDT 2010


On Sun, Apr 11, 2010 at 11:40 PM, BJ Swope <bigblueswope at gmail.com> wrote:

> Other than asking the website owner to change the name of the field
> how can I go about passing that field in the form post?
>

How about:

>>> urllib.urlencode({'pass' : 'foo'})

And so on? What is your problem in this context?

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100411/5dbbb696/attachment-0001.html>


More information about the Python-list mailing list