Python scripts in IIS

Scott F sdfATexpertuneDOTcom
Wed Feb 25 12:16:55 EST 2004


Peter Hansen <peter at engcorp.com> wrote in news:403CCF0C.693FBAE2
@engcorp.com:
>> Can you reference the documentation for the  -u  argument?
> 
> "python -h" will show you.

Right for python, but not for IIS.  E.g., in  

    	<path>python.exe %s %s 

The first %s stands for the script name, and the second %s stands for 
_all_ the arguments.  This is not normal substitution.  That's why %s 
needs to be used, not even %S (capitalized).  

Actually, Robert Brewer's response is more to the point.  Security is 
more troublesome with the above.  




More information about the Python-list mailing list