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


Groups > comp.lang.python > #86174

Re: calling subprocess

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 <rosuav@gmail.com>
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 <edfc56d5-8696-49d0-8b71-69044bbab1f5@googlegroups.com> <mailman.19035.1424643724.18130.python-list@python.org> <4e828264-5445-42fc-a647-c56f80fc86ab@googlegroups.com>
Date Mon, 23 Feb 2015 12:31:05 +1100
Subject Re: calling subprocess
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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>
Newsgroups comp.lang.python
Message-ID <mailman.19039.1424655074.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Mon, Feb 23, 2015 at 12:13 PM,  <jkuplinsky@gmail.com> 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. Obviously i'm doing something wrong -- which is what you perhaps call shotgun 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

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


Thread

calling subprocess jkuplinsky@gmail.com - 2015-02-22 14:06 -0800
  Re: calling subprocess Tim Golden <mail@timgolden.me.uk> - 2015-02-22 22:14 +0000
  Re: calling subprocess Chris Angelico <rosuav@gmail.com> - 2015-02-23 09:21 +1100
    Re: calling subprocess jkuplinsky@gmail.com - 2015-02-22 17:13 -0800
      Re: calling subprocess Chris Angelico <rosuav@gmail.com> - 2015-02-23 12:31 +1100
      Re: calling subprocess Dave Angel <davea@davea.name> - 2015-02-22 21:38 -0500
      Re: calling subprocess Dave Angel <davea@davea.name> - 2015-02-22 22:07 -0500

csiph-web