Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17760 > unrolled thread
| Started by | MRAB <python@mrabarnett.plus.com> |
|---|---|
| First post | 2011-12-23 00:47 +0000 |
| Last post | 2011-12-23 00:47 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: reading multiline output MRAB <python@mrabarnett.plus.com> - 2011-12-23 00:47 +0000
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2011-12-23 00:47 +0000 |
| Subject | Re: reading multiline output |
| Message-ID | <mailman.4006.1324601223.27778.python-list@python.org> |
On 23/12/2011 00:33, Mac Smith wrote: > 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. > The lines are terminated with \r, so read with read() and then split on "\r".
Back to top | Article view | comp.lang.python
csiph-web