Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.045 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'resulting': 0.04; 'string': 0.09; 'cc:addr:python-list': 0.11; '23,': 0.16; 'fiddle': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'literals,': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'stuff': 0.32; 'sense': 0.34; 'something': 0.35; '(2)': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'much.': 0.36; 'doing': 0.36; 'wrong': 0.37; 'same.': 0.38; 'fact': 0.38; 'pm,': 0.38; 'that,': 0.38; 'matter': 0.61; 'helping': 0.70; '2015': 0.84; 'actually,': 0.84; 'nice,': 0.84; 'try,': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=oqItQ8djRkr/PQhS+KXvY/60VdsUvjrNENRl/sLdFjQ=; b=tMLGfhXb03tfv08Y4y3H1iczJ0T3TnouYzqpwtNHleLSo0zGzAEX3EoECqNsq1cxDt RaKYYw9ro0RyvWWijr/YJjdhQCKA9FgqdE9M6xwczmfAqjt4n/mKhpU0wRoaO2wiSLqn fLkcVC4i20A6BQ0FsKNN35uPE52gzT8Cg26rww1j9NS2An8kkjIbSGzrJNaf8uiShRdC JneNWL/IEaG8OkWtK7Fekb3ZIqI+gu7xRPkVw5uuYWk4VL91Q8J0QYH9BIA3kOJfWm1/ lgfskJjBlU0zasaH0sZcpNX9AhnN02drrcTQwCPGE1bwWQ4VeJhFVlnbm5BZSaG04Eq6 Yb3w== MIME-Version: 1.0 X-Received: by 10.107.33.11 with SMTP id h11mr10695121ioh.53.1424655065821; Sun, 22 Feb 2015 17:31:05 -0800 (PST) In-Reply-To: <4e828264-5445-42fc-a647-c56f80fc86ab@googlegroups.com> References: <4e828264-5445-42fc-a647-c56f80fc86ab@googlegroups.com> Date: Mon, 23 Feb 2015 12:31:05 +1100 Subject: Re: calling subprocess From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424655074 news.xs4all.nl 2839 [2001:888:2000:d::a6]:48382 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86174 On Mon, Feb 23, 2015 at 12:13 PM, wrote: > (2) print() sounds nice, but fact is , no matter what I try, i always get= C:\\apps instead of c:\apps. So in this sense print() doesn't help much. O= bviously i'm doing something wrong -- which is what you perhaps call shotgu= n debugging; but that's why i'm asking. > Actually, that means it's helping a lot: it's showing you that, no matter what you fiddle with in terms of string literals, the resulting string is exactly the same. That's the point of printing stuff out :) ChrisA