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


Groups > comp.lang.python > #101325

Re: subprocess check_output

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: subprocess check_output
Date Thu, 7 Jan 2016 20:54:43 +1100
Lines 23
Message-ID <mailman.39.1452160487.2305.python-list@python.org> (permalink)
References <CAJYwLU=p_U3V7MfOx3wCH8qkamK0aSHzF1i0g2ZBgTXDgrF03Q@mail.gmail.com> <20151230210227.GA88234@cskk.homeip.net> <CAJYwLUn23Xh5D6Yvn8Atv=vzC6Xk8D3i2SgV8hyvvqiuvofQgg@mail.gmail.com> <mailman.185.1451772113.11925.python-list@python.org> <n6g8kf$kq8$1@gioia.aioe.org> <mailman.14.1451993928.2305.python-list@python.org> <n6lbcp$klp$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 9vts49uKS24+xUt5bzBKUgQhyp6oRzpG91ARKqppDmiA==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'received:209.85.223': 0.03; 'failing': 0.05; 'lines,': 0.05; 'padding': 0.07; 'cc:addr :python-list': 0.09; 'oh,': 0.09; 'jan': 0.11; 'syntax': 0.13; 'thu,': 0.15; '*never*': 0.16; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'keyword,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'somewhere.': 0.16; 'wrote:': 0.16; 'deployment': 0.18; 'directory.': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'code,': 0.23; 'header:In-Reply- To:1': 0.24; "i've": 0.25; "doesn't": 0.26; 'chris': 0.26; 'error': 0.27; 'separate': 0.27; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'css': 0.27; 'correct': 0.28; 'referencing': 0.29; 'symbols': 0.29; "i'm": 0.30; 'code': 0.30; 'saves': 0.30; 'getting': 0.33; 'run': 0.33; 'mass': 0.33; 'suddenly': 0.33; 'similar': 0.33; 'changing': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'done': 0.35; 'quite': 0.35; 'something': 0.35; 'asking': 0.35; "isn't": 0.35; 'sometimes': 0.35; 'should': 0.36; 'instead': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'being': 0.37; 'suggestion': 0.37; 'exciting': 0.38; 'received:209': 0.38; 'wrong': 0.38; 'along': 0.39; 'where': 0.40; 'ever': 0.60; 'save': 0.60; 'your': 0.60; 'life': 0.67; 'color': 0.67; 'discover': 0.73; 'obvious': 0.76; 'again?': 0.84; 'chrisa': 0.84; 'right!': 0.84; 'suggest,': 0.84; 'surprised,': 0.84; 'to:none': 0.91; 'try.': 0.91; 'story.': 0.96; 'serious': 0.97
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; bh=NKymZ4nw7pXXb0xIEqro73JW7XtBmiBYpKiZPOrDSNc=; b=EWc/jA6SMbVXHnnF7s8sBBQR3GvenTankUS4mYc0FcdmtBIIX66x7ICP2ISLTHPFN7 bLmrt0aqnj4+OWer/XYWOtUdssysDUml+m/uEaoO6ibiJ+B9CBxhHGkwJxmWiEuqYIao bvExlTk2tFloRZVeNZxNA7tkzihn/HOoqADy07vaJOidXOx1rZOg+L/ODOxiHJgMwDdZ j1BkZ8mBoPyCi6flRbsuZV72PI+TtzLnXyoUJaBwnybw7/cvU2go4vG1UG90Y7FlS8Ee LukztrpjE0riF5ONIJUzVFECCNibgO0ivmCZO13mtcb988z5uHmNJC4Kq2klDSsN0gxH YXlA==
X-Received by 10.107.40.76 with SMTP id o73mr33500967ioo.157.1452160483814; Thu, 07 Jan 2016 01:54:43 -0800 (PST)
In-Reply-To <n6lbcp$klp$1@gioia.aioe.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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:101325

Show key headers only | View raw


On Thu, Jan 7, 2016 at 8:33 PM, me <self@example.org> wrote:
> On 2016-01-05, Chris Angelico <rosuav@gmail.com> wrote:
>> Oh, and then you keep editing and save again? Nah, I've *never* done
>> that... Never!
>
> I'm quite surprised, buddy. You should definitely try.

I know, right! It's so exciting to suddenly discover that you have two
separate copies of a piece of code, and that one of them isn't where
you think it is... makes life so interesting!

Serious suggestion for people who run into weirdness: Sometimes it
helps to make a deliberate and obvious syntax error (misuse a keyword,
break the indentation, put a mass of symbols in someplace), just to
see that your code is getting parsed. If it doesn't trigger an error,
well, your deployment is failing somewhere. CSS gurus suggest, along
similar lines, changing the background color of something to red.
Saves ever so much fiddling around - instead of asking "why doesn't my
padding work in IE?", you ask the correct question of "why isn't my
CSS file being read?", upon which you discover that you were
referencing it from the wrong directory. True story.

ChrisA

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


Thread

Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-03 09:01 +1100
  Re: subprocess check_output me <self@example.org> - 2016-01-05 11:15 +0000
    Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-05 22:38 +1100
      Re: subprocess check_output me <self@example.org> - 2016-01-07 09:33 +0000
        Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-07 20:54 +1100
          Re: subprocess check_output Marko Rauhamaa <marko@pacujo.net> - 2016-01-07 12:12 +0200
            Re: subprocess check_output Marko Rauhamaa <marko@pacujo.net> - 2016-01-07 12:14 +0200
              Re: subprocess check_output Chris Angelico <rosuav@gmail.com> - 2016-01-07 21:25 +1100

csiph-web