I have a GUI with label and entry widgets on a frame widget. I want to add a command prompt.to the frame through which the user can submit commands. I know about using the cmd module to create a prompt in the python shell, but I want the prompt to be part of my GUI window. Is there a way to 'embed' a command prompt in a canvas for example? Right now I am using Cmd.init(self) and cmdloop to start a prompt in python shell...
Just to clarify further, I would like the shell to run from within my GUI window (e.g. inside a canvas), and not as its own window. Is that possible?