[mod_python] Sending args to the python script

Gregory (Grisha) Trubetskoy grisha at modpython.org
Tue Oct 15 17:48:20 EST 2002


It should work. See if you have a req.form variable, and try raising it
with PythonDebug On to see what's in it, e.g.:

def function(req):

	raise `req.form`


On Tue, 15 Oct 2002, Martin Hicks wrote:

>
> Hello,
>
> I want to be able to send args to the script through a src URL.
>
> e.g.,:
>
> <frame ...  src="script/function?arg=blah&name=hoho">
>
> but this doesn't seem to work.  I'm using the Publisher Handler
> and mod_python 2.7.8 on debian-sid.
>
> TIA
> mh
>
> --
> Martin Hicks  ||  mort at bork.org  || PGP/GnuPG: 0x4C7F2BEE
> plato up 13 days, 22:28, 13 users,  load average: 0.21, 0.07, 0.02
> Great Spirits have always encountered opposition from mediocre minds
> 						-Albert Einstein
>




More information about the Mod_python mailing list