path = r"C:Program Files (x86)SAPFrontEndSAPguisaplogon.exe"
subprocess.Popen(path)
time.sleep(5)
SapGuiAuto = win32com.client.GetObject('SAPGUI')
application = SapGuiAuto.GetScriptingEngine
time.sleep(5)
getting error in the above code which i’m trying to run in the flask
SapGuiAuto = win32com.client.GetObject(‘SAPGUI’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this the error.How to solve this error