How to run my terminal based program within GUI window


How do I display the terminal that my terminal-based program runs on in the tkinter GUI window application? So for clarification id like my program to be run on the GUI window, not the console. I am on windows

What I've tried so far

I have tried googling it working on it myself and tried some python modules I installed with pip in the command prompt have looked at other StackOverflow questions one seemed to work as I planned.