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


Groups > comp.lang.python > #17759

reading multiline output

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!news-transit.tcx.org.uk!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <macsmith.us@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.111
X-Spam-Level *
X-Spam-Evidence '*H*': 0.78; '*S*': 0.00; 'terminated': 0.07; 'to:name:python mailing list': 0.09; 'output': 0.10; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'suggest': 0.20; 'thanks': 0.31; 'hi,': 0.32; 'message-id:@gmail.com': 0.33; 'to:addr:python-list': 0.34; 'file.': 0.34; 'charset:us-ascii': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'using': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'received:209': 0.40; 'to:addr:python.org': 0.40; 'content-type:multipart/mixed': 0.60; 'header:Message-Id:1': 0.62; 'kindly': 0.65; 'content- type:application/octet-stream': 0.66; 'received:10.10': 0.68; 'alternative.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:message-id:date:to :content-transfer-encoding:mime-version; bh=Rw3OyOD3o8vSw16Y+i5NJiA3MSazH0x2KpZsTJa9g1U=; b=agTVAjLW0OdSSaG3MFVkshKjzgv9w4mKbKuOP7dBHmig4w+T/hD9WWVJKGf2mtkdJ8 IeTjfTp2hPqkZ4z9NqbTTIcStrMN/TykkBxfuvPgeGNJYjMkJx/ATHYRdXWULwC1qFrm Uk/gmvOiMz/U1kiqt73t1sAt/AteRNqdD0fnk=
Subject reading multiline output
References <79DF8234-67BF-4297-ACE6-8D091D05B3E9@gmail.com>
From Mac Smith <macsmith.us@gmail.com>
Content-Type multipart/mixed; boundary=Apple-Mail-B47DC112-15AB-4C25-A326-E044E3FA8F28
X-Mailer iPhone Mail (9A405)
Date Fri, 23 Dec 2011 06:03:12 +0530
To Python Mailing List <python-list@python.org>
Content-Transfer-Encoding 7bit
Mime-Version 1.0 (1.0)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4005.1324600329.27778.python-list@python.org> (permalink)
Lines 117
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1324600329 news.xs4all.nl 6926 [2001:888:2000:d::a6]:60221
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:17759

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,


I have started HandBrakeCLI using subprocess.popen but the output is multiline and not terminated with \n so i am not able to read it using readline() while the HandBrakeCLI is running. kindly suggest some alternative. i have attached the output in a file.

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


Thread

reading multiline output Mac Smith <macsmith.us@gmail.com> - 2011-12-23 06:03 +0530

csiph-web