On Nov 6, 2:48 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>
> Use a list of arguments [antiword, word_doc] and let subprocess handle the
> spaces the right way.
>

Got it working. Thank you both.

p = subprocess.Popen([antiword, word_doc], stdout=subprocess.PIPE)
doc_text = p.stdout.read()

rd




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

Reply via email to