All good)

How can I work with the program on Windows through Python 3?
That is, send clicks to this program, close it, etc. For example, you can take the Putty program and the task to connect to the server through it using Python.

Thanks for the help and attention.

  • In general, almost all window processes (programs) in Windows receive messages (Windows Messages) and process them. If the program has some kind of API for external control (for example, it opens the control port, and understands some kind of protocol), then it is better to use a higher level solution. - lospejos
  • If Python is not critical, then IMHO is easier to use more native technology for Windows: C ++, C #, etc. - lospejos
  • Are you sure that you have a question exactly how to automate a GUI program (such as putty), and not how to execute the ssh command in Python? Related question: Interact with other programs using Python - jfs
  • Part about sending clicks: pyautogui or pywinauto modules. Pro to connect to the server: fabric, paramiko modules or in the worst case, call plink.exe (with putty distributed), putty.exe commands from Python ( subprocess module) depending on the specific task. - jfs

0