Coexistence of Python 2.x and 3.x on same OS

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Oct 1 04:28:54 EDT 2012


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.




More information about the Python-list mailing list