RosettaCodeData/Task/OLE-automation/Python/ole-automation-2.py

4 lines
102 B
Python

import win32com.client
client = win32com.client.Dispatch("python.server")
client.write("hello world")