[issue8006] os.popen in Python 3.1

Bob Buckley report at bugs.python.org
Sun Aug 8 23:06:24 CEST 2010


Bob Buckley <bob at buckley.id.au> added the comment:

Sorry I didn't get back to you. Originally, I had trouble with just getting a pipe ... but updating my Python software seemed to make that problem go away.
I also had problems with Python 2.6 when drawing more complicated figures. I could not tell whether the issue of sending all the data via a pipe is with the Python Library, with GNUplot or with Windows pipes.
I also believe the problem I had was with buffering.
I had to get my code working so I found another solution (I write all my GNUplot commands to a file, then just send a "load file.txt" command via the pipe. I would like to be able to use pipes to communicate so I will try to use the new subprocess.Popen and Popen.communicate method and see if I can get that working reliably in 2.6 and 3.1
This will give me an idea about whether there is output from GNUplot that might be filling some buffer when using the os.popen method.

----------
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8006>
_______________________________________


More information about the Python-bugs-list mailing list