Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'explicitly': 0.04; 'interpreter': 0.04; 'subject: + ': 0.07; 'interpreter,': 0.09; 'subject:files': 0.09; 'gui': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gilles': 0.16; 'oct': 0.16; 'wrote:': 0.17; 'subject:] ': 0.19; 'windows': 0.19; 'received:209.85.214.174': 0.21; 'skip:= 20': 0.22; 'apps': 0.23; 'installed': 0.23; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'probably': 0.29; 'fri,': 0.30; 'file': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'pm,': 0.35; 'too.': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'two': 0.37; 'ones': 0.37; 'received:209': 0.37; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'bring': 0.62; '2.5.': 0.84; '9:02': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7aR1SouATixdW/sL/CO70j3/2vwf9Aaq+jEbl8Lo5us=; b=Yh3lRYruXbwFv3qIb+qAlE0fN4+AZuaALR4JB/n8MBaztDz/uwgHvwNrT4f3DKx0dm 8aJB+WSHSS2K2TTlmowy8MsqfB1j4FNm98qPnF4oVIHz6sDYlWLJ8848vt6OAwAsyNUj buQH5QhHqCqpZCf1k9G3HVrdCENYINoGensRymZclQwIiDqR+rF9kuPZ8EE2GoWbvbxP p02uy5rlCHj9ifCGFxCp+PiNVCoVzY0+hxfKws1ieYZ//Vkw0lznAsH7lL+SAOdIumOD XSEVBFQ3V8nah3IKcw4rha/HQm19HA6FT5J9MQkleLhvNO4RKX3yUtulaaecDypsHWra bp8w== MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 19 Oct 2012 21:09:55 +1100 Subject: Re: [2.5.1 + CGI] Which interpreter and files? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350641403 news.xs4all.nl 6895 [2001:888:2000:d::a6]:57262 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31730 On Fri, Oct 19, 2012 at 9:02 PM, Gilles 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