import sys
from win32com.client import Dispatch

print("Process started")

for arg in sys.argv:
    print(arg)
    
xlApp = Dispatch('Excel.Application')

xlApp.Visible = True

xlBook = xlApp.Workbooks.Open(sys.argv[1] + '\\' + sys.argv[2])

xlApp.Worksheets.Add().Name = 'Test Summary'

xlSheet = xlApp.Worksheets('Test Summary')

xlSheet.Cells(1,1).Value = 'title'

xlSheet.Cells(2,1).Value = 123

xlBook.Save()

xlApp.Quit()
