: : : Does anybody know how to open a file with a program that you opened with Python, say Word?
: :
: : I don't understand the question. Are you saying you used Python to start MSWord, and you want the Python code to make MSWord open a particular file?
: :
: :
: :
infidel
: :
: :
: : $ select * from users where clue > 0
: : no rows returned
: :
: :
: :
:
: yes, that is what I was asking, sorry for the badly worded message.
:
Most programs, if you call it from the cmdline, its first argument is a file to open. I forgot Python's equivalent of the system() call in C, but you can use that to call msword then concat the filename you want to open.
Search the docs for the sys package, the function u need should be there.
{2}rIng