Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'scripts': 0.03; 'subject:Python': 0.06; 'executable': 0.09; 'friday,': 0.09; 'variable,': 0.09; 'python': 0.11; 'subject:windows': 0.16; 'url:windows': 0.16; 'utc,': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'install': 0.23; 'versions': 0.24; 'equivalent': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'linux': 0.33; 'url:python': 0.33; 'fri,': 0.33; 'skip:# 10': 0.33; 'received:google.com': 0.35; 'version': 0.36; '2.6': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'ensure': 0.60; 'easy': 0.60; 'ian': 0.60; 'url:3': 0.61; "you'll": 0.62; '20,': 0.68; '2015': 0.84; '3.4': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sCIKtnl52VjmDvJotCw1LT5RAyk1RjZzxQze7VTxgM4=; b=vamc/ipAonD/xRCWDEYMcZTcUZpe0e025KuVRJEpUHFH5qv3G1UlI0kcoOVKqqWmni hQnUnFygxZKycP4Ic3+VJZPEvwjaVhLu5Zceje+FxmsGyHPXhnzRyQnEnpKrYoU+8O5j EZ9ZjB36IAL0OcfnrNZDb3dp1nLFEj927rElEG0k+iQcSIDcCm+CV7yyE60FPxNrOqt2 3P0MFfGPaTuee1/NjtWc8Nf5azkE2DKorDDCjns7QHblC8Ncn2DZgHZR0TtvR6M6q1d/ oEoaPJ2QI7fnWf1sT/s48dlxIPOG9FYIYSKBj/wYyaGgHtHT4RG4qyU37LW/yiSo0cU9 MXXQ== X-Received: by 10.66.65.234 with SMTP id a10mr19446399pat.120.1424456745619; Fri, 20 Feb 2015 10:25:45 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Fri, 20 Feb 2015 11:25:05 -0700 Subject: Re: Python path on windows To: Python Content-Type: text/plain; charset=UTF-8 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424456749 news.xs4all.nl 2842 [2001:888:2000:d::a6]:58965 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85984 On Fri, Feb 20, 2015 at 8:16 AM, loial wrote: > On Friday, February 20, 2015 at 2:54:26 PM UTC, Ian wrote: >> On Feb 20, 2015 7:46 AM, "loial" wrote: >> >> > >> >> > On Linux we use >> >> > #!/usr/bin/env python >> >> > >> >> > At the start of scripts to ensure that the python executable used is the one defined in the PATH variable, rather than hardcoding a path to the python executable. >> >> > >> >> > What is the equivalent functionality in Windows? >> >> https://docs.python.org/3/using/windows.html#launcher >> >> Note that while the launcher can be used with any version of Python, it is only packaged with 3.3+. > > Vesrion is 2.6 You can install multiple versions of Python on the same system without conflict. If you install Python 3.4 also, then you'll have the launcher. I don't know if there's an easy way to install just the launcher.