Python scripts in IIS

Jon Cosby jcosby at nospam.net
Tue Feb 24 15:57:06 CET 2004


"Scott F" <sdfATexpertuneDOTcom> wrote
>
> >
> > Sorry. It's in the browser window. The script does not execute. I
> > have "Show friendly http error messages" set to false in Internet
> > Explorer. As it happens on all of the scripts, I can't single out
> > one command. I have ActiveState's build of Python 2.3, and don't
> > recall running into this previously, but there might be something
> > in the IIS configuration I'm overlooking.
>
> Go to the Properties of the (Default) Web site, Home Directory tab,
> Configuration button.  On the Mappings tab, add a mapping for Python in
> the form
>
> <pathtopython>\python.exe %s %s
>
> Use your actual pathtopython and don't substitute anything for %s %s.
>
> Should work fine.
>
Thanks. I had left out the trailing arguments. What is "%s" for, anyway?

Jon





More information about the Python-list mailing list