[2.5.1 + CGI] Which interpreter and files?

Chris Angelico rosuav at gmail.com
Fri Oct 19 06:09:55 EDT 2012


On Fri, Oct 19, 2012 at 9:02 PM, Gilles <nospam at nospam.com> wrote:
> 1. Mongoose must be told in the shebang file where to locate the
> interpreter, but ActivePython 2.5.1 comes with fours files that look
> like the interpreter (actually, two files, since the other two have
> the same size so they are probably left overs):
> ============================
> 01/05/2007  18:01            24.064 python.exe
> 01/05/2007  18:01            24.064 python25.exe
> 01/05/2007  18:01            24.576 pythonw.exe
> 01/05/2007  18:01            24.576 pythonw25.exe
> ============================

The ones with the -w tag are designed for Windows apps that are going
to bring up a GUI and don't want a console. The python[w]25.exe ones
will be in case you have multiple Pythons installed and want to
explicitly call for version 2.5. You probably want python.exe, but
python25.exe will work too.


ChrisA



More information about the Python-list mailing list