win32com.client.GetObject(‘SAPGUI’) error while connecting to SAP in flask

  Kiến thức lập trình
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

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT