Monitor an application


I need to create a script to run multiple queries using a 3270 emulator, which I watch for a while and then it goes to another screen and repeats infinitely until I stop the queries. Could someone help me?


Hi Jorge,

welcome to the Python discussions!

Did you try to search for a solution? I had no idea what a “3270 emulator” is so I googled it. It is a software emulator of a terminal for IBM Mainframe computers.

When I added the word “Python” to the search I found a library which provides an interface for an existing 3270 emulator - x3270 and s3270:

There is also a project in active development based on py3270:

Hi Václav Brožík,

thank you.