[EMAIL PROTECTED] wrote:
does this help?
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52224

It's very rare that a program like Word is installed in the PATH, so it's unlikely this helps.

Generally you would need to look in the registry, or
perhaps use os.popen() to parse the output of executing
the command "assoc .doc", to do what is required.

It might help for the OP to describe more about what
he plans to do with the information, since there might
be simpler/better approaches.

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

Reply via email to