Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'received:(qmail invoked by alias)': 0.07; 'received:gmx.net': 0.09; 'variables.': 0.09; 'yeah,': 0.09; 'missed': 0.12; 'bash,': 0.16; 'from:addr:gmx.de': 0.16; 'message-id:@gmx.de': 0.16; 'subject:effect': 0.16; 'wrote:': 0.18; '(not': 0.18; 'trying': 0.19; 'header:User-Agent:1': 0.23; 'environment': 0.24; 'header :In-Reply-To:1': 0.27; 'point': 0.28; "i'm": 0.30; 'linux': 0.33; 'but': 0.35; 'add': 0.35; 'really': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'received:10.1': 0.61; 'more': 0.64; 'export': 0.74; 'this;': 0.91 X-Authenticated: #20629184 X-Provags-ID: V01U2FsdGVkX18DP1MdWvsDR/ix7KueHLlAEAWCbOq0MOwfu2ymFb lP7EyTRZEIKZYE Date: Tue, 18 Jun 2013 19:48:28 +0200 From: Johannes Bauer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130528 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list@python.org Subject: Re: os.putenv() has no effect References: <3521635.s6mBxXcaft@mach-114-20> In-Reply-To: <3521635.s6mBxXcaft@mach-114-20> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371577713 news.xs4all.nl 15886 [2001:888:2000:d::a6]:48519 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48650 On 18.06.2013 19:24, inq1ltd wrote: > if you are trying to add a dir to a linux path you need > to understand how to add or change environment variables. Yeah, about this; I actually am fully aware of what I'm doing. > research this; > $ export PATH= $PATH: ???/???/??? You really couldn't have missed the point more if you tried. I'm not working with Bash, but with Python. os.putenv() has no effect in my case (not just with the PATH environment variable). Regards, Johannes