[Tutor] mp3 range violation reportage.

Tesla Coil tescoil@irtc.net
Mon, 28 May 2001 01:04:19 -0500


On 27 May 2001, Doug Stanfield replied:
> Completely speculation, but it may be that the text output 
> from the program is to standard error not standard output.
> If you tried to use popen2.popen3 you might get something.

And correct completely speculation it is:

>>> import popen2
>>> this = popen2.popen3('mpg123 -t -c Raw_Power.mp3')
>>> that = this[2]
>>> andtheother = that.readlines()
>>> andtheother[8]
'Playing MPEG stream from Raw_Power.mp3 ...\012

Thanks.  Haven't done anything with popen2 before.