Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'url:bitbucket': 0.05; 'python': 0.09; 'backwards': 0.09; 'edward': 0.09; 'obey': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:same': 0.09; 'windows,': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'andrew': 0.27; 'header:X-Complaints- To:1': 0.28; 'compatible': 0.30; 'from:addr:yahoo.co.uk': 0.32; 'launch': 0.32; 'running': 0.32; 'problem': 0.33; 'to:addr:python- list': 0.33; 'version': 0.34; 'pm,': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'should': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'here': 0.65; 'hoping': 0.72; 'received:2': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Coexistence of Python 2.x and 3.x on same OS Date: Mon, 01 Oct 2012 09:28:54 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-201-251.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: X-Antivirus: avast! (VPS 120930-1, 30/09/2012), Outbound message X-Antivirus-Status: Clean 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349080027 news.xs4all.nl 6884 [2001:888:2000:d::a6]:58020 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30600 On 01/10/2012 04:06, Edward Diener wrote: > On 9/30/2012 3:38 PM, Andrew Berg wrote: >> Unix-based OSes should already obey the shebang line, and on Windows, >> there's py.exe in 3.3 that will launch the intended version based on >> that shebang line. > > The problem with that is that one has to already being using 3.3 to use > this facility. I was hoping for a solution which was backwards > compatible with Python 2.x. > You don't need 3.3 to get py.exe. I've been running it for months, it's available here https://bitbucket.org/vinay.sajip/pylauncher/downloads -- Cheers. Mark Lawrence.