popen4 not returning output

2007-08-19 Thread hortitude
I am trying to run the following script:


#!/usr/bin/python

import popen2

commandToRun = """scp scp_trial.py [EMAIL PROTECTED]:/targetDirectory"""
#commandToRun = "ls"
print commandToRun
p_out, p_in = popen2.popen4 (commandToRun)

theOut = p_out.readlines ()
print theOut


When I run this command with the "ls" command I see the output.
When I run this with the scp command I do not see the output of my
command -- however the file is successfully transfered.  How can I see
the output?

Thanks

-- 
http://mail.python.org/mailman/listinfo/python-list


xml.dom.ext documentation

2006-02-17 Thread hortitude . eyeball
I figure I must just be missing something, but I can't seem to find
good documentation for xml.dom.ext.  What I'm hoping for is just a
simple list of what actually is available in that package (what other
packages get included if you import xml.dom.ext and what functions are
available).

-- 
http://mail.python.org/mailman/listinfo/python-list