import sys
import time
from comtypes.client import CreateObject

if __name__ == "__main__":
    to_print = 'Awesome!'

    print("Creating MyObject object now!")
    x = CreateObject("MyTypelib.MyObject")
    ret = x.MyMethod(to_print)
    print("MyObject.MyMethod returned %r" % ret)
