Could you please advise in Python how to get all the attributes/methods of an object?
Actually I need to write a Python code which works together with SAP application and it took almost a week to find in separate Python codes through Google, that there are 'Info' and 'SystemName' attributes for the "SAPGui" object.
This code so works already with showing the system name of that connection in SysName variable:
SapGui = win32com.client.GetObject("SAPGUI")
Appl = SapGui.GetScriptingEngine
Connection = Appl.Children(0)
Session = Connection.Children(0)
CollCon = SapGui.GetScriptingEngine.Children(0)
SysName = Connection.Children(0).Info.SystemName
Now it can be even in one line:
FullAttr = win32com.client.GetObject("SAPGUI").GetScriptingEngine.Children(0).Children(0).Info.SystemName
And here comes my question concretely - what is the way to find these attributes like Info and SystemName in Python for such outside application? I am using Spyder for writing Python code and the default tool which brings a list after pressing '.' for the object, it does not work for such outside application
Thanks in advance,