Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103195

Re: extending PATH on Windows?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Gisle Vanem <gvanem@yahoo.no>
Newsgroups comp.lang.python
Subject Re: extending PATH on Windows?
Date Fri, 19 Feb 2016 15:18:08 +0100
Lines 52
Message-ID <mailman.49.1455891656.2289.python-list@python.org> (permalink)
References <n9v58k$dcl$1@news2.informatik.uni-stuttgart.de> <mailman.168.1455630261.22075.python-list@python.org> <na2bqn$7d7$1@news2.informatik.uni-stuttgart.de> <mailman.227.1455756824.22075.python-list@python.org> <na4r70$skl$1@news2.informatik.uni-stuttgart.de> <mailman.32.1455850652.2289.python-list@python.org> <eh3dcb55vautec6gtrum8bka9lv762o5v4@4ax.com> <na6rjc$dlr$1@news2.informatik.uni-stuttgart.de> <CAPTjJmrn1BPYi3R1c_jbbL6Pmp0aUWLJNxbNdfsMr8eFdcWkNA@mail.gmail.com> <ae3ecbhe2c9hba8qg9hm3ellvk65ke4u25@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de iYhu7QnOggdAn1K9SpfBhw1Xnsxauv8XSRx90RzPeq8A==
Return-Path <gvanem@yahoo.no>
X-Original-To python-list@mail.python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'matches': 0.07; 'subject:Windows': 0.09; 'imho.': 0.09; 'skip:f 70': 0.09; 'spec': 0.09; 'url:github': 0.09; 'jan': 0.11; '-name': 0.16; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:f 60': 0.16; 'wrote:': 0.16; 'try:': 0.18; '>>>': 0.20; 'windows': 0.20; '2015': 0.20; 'skip:" 30': 0.20; 'feb': 0.23; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'skip:f 40': 0.27; '(c)': 0.29; '-----': 0.29; 'skip:- 10': 0.34; '2009': 0.34; 'dir': 0.35; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'files': 0.38; 'received:46': 0.63; 'reserved.': 0.67; 'chrisa': 0.84; 'from:addr:yahoo.no': 0.84; 'message-id:@yahoo.no': 0.84; 'dennis': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1455891486; bh=WaYMVTktKbbJgcUIOn114W75dDCiDSMOhiZk+UNvE1o=; h=From:Subject:To:References:Date:In-Reply-To:From:Subject; b=J0P+8JH9opYmBoTXJsNb/VYRMFOtRsW41cUgr86gYXZU20+Qrby7xfYiFgiK4YdTXFm/ljYGIKilFlYG+xO2pJQW63iF0/aHdjcpily+XNK9J1NsQ8+9F1w05UQXvA/xAUBWZG0x7NXdnMhECM1e3hSpjDOstlb2nMeAxc85Kp9m+05BKtSxTlTsNNgRjoZk5hOB73sN52SXondPj95+BxaSY+h8+uHzxo/lE206vV4Co0CPR7GEv6EEBocLObcLwB8odiYnF7F1QNmKu9DdYrs7u+Hnt7UOanU2x3dQtCauTgXJktIiNJQJLIzXea29RgOxZcK+Oi4e7RbQYvm4UQ==
X-Yahoo-Newman-Id 813824.97164.bm@smtp128.mail.ir2.yahoo.com
X-Yahoo-Newman-Property ymail-3
X-YMail-OSG fkAbMbwVM1kKxnzEb_ib23CwWeEr.Ipke1EJInfTyqTZ31H yWEsg52oBXtelKSgI2lfl2_XQYpvCsRiubGV9xbxBWsTnn_LcSaEwqXtFtq5 AFTyR15GwZjEMp_fJVNHdNk8XyIg6iYuBzPElx1wEOrnHCaQOnJGCWqUruiv Lc5yg931g6Gpf5FuFsMxqn6vVqFfTrhY6FEvk_uzDrO20GmZGIti9MieGkC0 QRdfaWsGNY8a2OBk17Fe01ILtRuSqO9zNCBJ_tj6zZbX4d8J0cUeo15lIX19 3o5VoLAPG_xqUEotShzrgobq8GuETSBrHvgaR4jJCAd8pIj67nhMVGKoTAXR Nl9LvfD3gEDL5BqvfEYQ0xrFc9s9bjzuYZHfIEY1Pg4A0cpk.uZwne1Gr3cP gSxB5JAuhsqwOKF_FmNjaCeq4L174Ib.lWt.oEj6RwWu.8M7ETXDGdZ367LA QeudrXF7vGZxURakAuQKnZ7fZJStHcDp8ZfMgrZX5EldHt4sDKG0ENmiGaXa y0hAN6X8vbPb3FDwGUXCRxRVs8BIZgQ--
X-Yahoo-SMTP 8zhYLGyswBB3AGU8c4pvFIFOfA--
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <ae3ecbhe2c9hba8qg9hm3ellvk65ke4u25@4ax.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103195

Show key headers only | View raw


Dennis Lee Bieber wrote:

>>> How can one search for files with DOS?
>>
>> dir /s /b \*add2path.*
>>
>> ChrisA
>
> 	Or move to PowerShell...
>
> Windows PowerShell
> Copyright (C) 2009 Microsoft Corporation. All rights reserved.
>
> PS C:\Users\Wulfraed\Documents> Get-ChildItem -Path c:\ -Filter *add2path*
> -Name -Recurse

Clumsy IMHO. Try:
c:\> envtool --path *ipython*

Matches in %PATH:
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython-script.py
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython.exe
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython.exe.manifest
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython2-script.py
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython2.exe
      12 Feb 2015 - 17:16:12: f:\ProgramFiler\Python27\Scripts\ipython2.exe.manifest
      08 Feb 2015 - 12:48:56: f:\ProgramFiler\Python27\Scripts\ipython_win_post_install.py
7 matches found for "*ipython*".

-------------------

Or find a spec on *all partitions* using Everything Search engine:
c:\> envtool --evry *ipython*
Matches from EveryThing:
...
133 matches found for "*ipython*".

-------------------

Or for Python-path searches:
c:\> envtool --python *ipython*
Matches in "f:\ProgramFiler\Python27\python.exe" sys.path[]:
      23 Jan 2016 - 13:50:30: f:\ProgramFiler\Python27\lib\site-packages\ipython-2.1.0-py2.7.egg\IPython\
      23 Jan 2016 - 13:50:26: f:\ProgramFiler\Python27\lib\site-packages\IPython\
      23 Jan 2016 - 13:50:30: f:\ProgramFiler\Python27\lib\site-packages\ipython-2.1.0-py2.7.egg\
3 matches found for "*ipython*".

-----

My envtool is at https://github.com/gvanem/EnvTool
EveryThing is at http://voidtools.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-16 08:30 +0000
  Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 13:19 +0100
    Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-16 12:38 +0000
      Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 14:38 +0100
      Re: extending PATH on Windows? Thorsten Kampe <thorsten@thorstenkampe.de> - 2016-02-16 14:43 +0100
        Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 17:49 +0000
          Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-17 13:02 -0600
            Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 20:29 +0000
              Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-17 15:17 -0600
                Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-17 22:37 +0000
                Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:55 +0000
                Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:07 -0600
          Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-17 19:53 -0500
            Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:24 +0000
              Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-18 21:57 -0500
                Re: extending PATH on Windows? pyotr filipivich <phamp@mindspring.com> - 2016-02-18 19:39 -0800
                Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-19 10:42 +0000
                Re: extending PATH on Windows? Chris Angelico <rosuav@gmail.com> - 2016-02-19 21:48 +1100
                Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-19 07:45 -0500
                Re: extending PATH on Windows? Gisle Vanem <gvanem@yahoo.no> - 2016-02-19 15:18 +0100
                Re: extending PATH on Windows? pyotr filipivich <phamp@mindspring.com> - 2016-02-19 09:04 -0800
                Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:04 -0600
                Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-19 12:42 -0600
                Re: extending PATH on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-19 19:57 -0500
                Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-20 07:31 -0600
          Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-18 06:54 -0600
            Re: extending PATH on Windows? Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2016-02-18 16:50 +0000
  Re: extending PATH on Windows? eryk sun <eryksun@gmail.com> - 2016-02-16 07:17 -0600

csiph-web