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


Groups > comp.lang.python > #86174

Re: calling subprocess

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

Show all headers | 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