> Pete O'Connell wrote: > Hi, I am using Python 2.6 I can't use Python 3 in this particular situation. [Please reply to the list, not in private mail.] You can continue to use commands.getoutput() in 2.6 and 2.7, and once you are ready to make the jump to 3.x replace it with subprocess.getoutput().