I have created a GUI in tkinter. I want to start python-m http.server that should run forever on clicking start button and should open browser with index.html file. The server should stop on clicking close button.
later once the server has started. I want to pass values from the GUI and display result on browser.
Can anyone explain how to do it? or share a sample code