On Tuesday, 26 February 2019 12.15.06 WEST Guenter Milde wrote: > In any case, os.popen is deprecated since Python 2.6 and should be replaced > by calls to subprocess. https://docs.python.org/3/library/subprocess.html > > Hope this helps, > > Günter
That is true but in a sense there is no need because according to the python documentation: https://docs.python.org/3/library/os.html#os.popen "This is implemented using subprocess.Popen; see that class’s documentation for more powerful ways to manage and communicate with subprocesses." In any case it would be nice to make the python code uniform and following the best practices. -- José Abílio