Passing variable to python from a url
William Park
parkw at better.net
Thu Dec 9 02:45:38 EST 1999
On Thu, Dec 09, 1999 at 02:19:57PM -0500, Tekhir wrote:
> I think I'm pretty good with python now, not a master but i can do most of the
> stuff I want without looking for help now. But one thing I do need help on is
> passing a variable in a url like so "script.py?variable=1" Is there a way to do
> this in python and can someone point me to an example or the library needed for
> this.
>
>
> Thanks,
> Jeremy "Tekhir" Misavage
> --
> http://www.python.org/mailman/listinfo/python-list
That's GET method of CGI. Read 'cgi.py' module in the standard
documentation.
More information about the Python-list
mailing list