[Tutor] importing a subprocess in dos

alan.gauld@bt.com alan.gauld@bt.com
Sun, 31 Mar 2002 23:12:04 +0100


> do I run a process in dos (btw my os is win98) and import the 
> result to my python interpreter?

Use popen() or one of its variants - look min os module.

BUT it used to be on DOS that you had to use the one 
from the winall package(or ActiveState's python).
Does anyone know if this is still true in V2.xx?

Alan G