Bidirectional communication through pipes: read/write popen()
Oleg Broytmann
phd at sun.med.ru
Sun Oct 17 08:14:27 EDT 1999
Hi!
On 17 Oct 1999, Hrvoje Niksic wrote:
> def rwpopen(input, command, args=[]):
^^^^^^^
There was well-know problem with passing mutable object as a default.
Not sure if it was fixed in recent versions of Python...
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list