Am trying to connect to Mainframe but i am getting the below error. tried few attempts with different options..
em = Emulator(visible=True, timeout=200, args=["-port", "623"])
em.connect('portnumber')
error here:
TypeError: connect() missing 2 required positional arguments: 'self' and 'host'
Scenario 2 tried but still same error
em = Emulator(visible=True, timeout=200, args=["-port", "623"])
em.connect(host:'nnn.nnn.nn.nnn')
error here:
TypeError: connect() missing 2 required positional arguments: 'self' and 'host'