How to logon SAP silencely with Python using win32com -


i have question logon sap silencely. able use win32com logon sap python. below code. in vb can use r3.conn.logon(1, true) make logon siliencely. in python logon seems not method , not allow me pass parameters it.

i tried using r3.conn.logon(1, true) in python, returned error told me logon not callable. how should call logon silencely in python

thanks

from win32com.client import dispatch  r3 = dispatch("sap.functions") r3.conn.system = 'xxx' r3.conn.client = '100' # other values needed pass r3.conn r3.conn.logon #here problem 


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -