import win32com.client ag=win32com.client.Dispatch("Agent.Control") ag.Connected=1 ag.Characters.Load("Merlin") ag.Characters("Merlin").Show() text = raw_input("please type something...") ag.Characters("Merlin").Think(text)
Automation of Applications with Python for Windows – The Script Collection
import win32com.client ag=win32com.client.Dispatch("Agent.Control") ag.Connected=1 ag.Characters.Load("Merlin") ag.Characters("Merlin").Show() text = raw_input("please type something...") ag.Characters("Merlin").Think(text)