View Single Post
Old 01-02-2009, 05:07 PM   #35
junkml
Addict
junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.junkml ought to be getting tired of karma fortunes by now.
 
junkml's Avatar
 
Posts: 277
Karma: 1004969
Join Date: Mar 2007
Device: Sony Reader
Finally got it working.

The relevant line is:
subprocess.call('"C:\Program Files\Microsoft Office\OFFICE11\winword.exe"',shell=True)

even using notepad++ it ended up giving me fits with the end of line characters and indentation.

But, anyone who wants to be able to run Dos Command Line should be able to with this.

Last edited by junkml; 01-02-2009 at 08:49 PM.
junkml is offline   Reply With Quote