Mar-20-2020, 11:13 PM
(This post was last modified: Mar-20-2020, 11:13 PM by Gribouillis.)
Hello and welcome to the forum.
I don't see a way to embed a Putty window into a tkinter widget, nor other Windows applications such as Cmd or Notepad++ or your web browser.
With a lot of work, you could create a terminal-looking window in tkinter, such as Idle's shell which is written in tkinter and create an SSH session in this windows with the help of specialized modules such as paramiko. Obviously, it is a whole project for a very experienced pythonista.
The simplest method is the best: just call Putty with the help of the subprocess module when the button is clicked and live with a separate Putty window. You'd have a useable program in a matter of minutes.
I don't see a way to embed a Putty window into a tkinter widget, nor other Windows applications such as Cmd or Notepad++ or your web browser.
With a lot of work, you could create a terminal-looking window in tkinter, such as Idle's shell which is written in tkinter and create an SSH session in this windows with the help of specialized modules such as paramiko. Obviously, it is a whole project for a very experienced pythonista.
The simplest method is the best: just call Putty with the help of the subprocess module when the button is clicked and live with a separate Putty window. You'd have a useable program in a matter of minutes.