I am quite familiar with Python
I am new to, but OK with HTML
I have the internet and know how to research - and usually get by.
Here's what I want to do, explained as simple as possible:
I am messing with a personal project - a webpage.
All I want to do is display some text, say output from a shell while a Python program is running.
I literally want to print a sequence of strings, and have them scroll down through a textbox to simulate a terminal, or shell running a program -
so say I printed a load of print statements,
I just want to display them, one by one, on my webpage, in a designated frame or box, and have the messages scroll down through this box one by one - like a falling text effect.
It doesn't have to be python text - but I would prefer to learn how to embed a python script and display the output in a console or shell in the HTML page.
And my ultimate goal is to have a button on the webpage that executes my python script and starts the text output display sequence.
As I said, Im OK with Python, very new to HTML, and am just managing the basics with JS and CSS, so the webpage side of things needs to be explained fairly simply
If I can do it without Python that's fine - it would literally need to be a button that starts a falling text display with pre written text scrolling by -
If anyone knows how to embed python this way, I want to have a button on my HTML page that executes a python program, that shows it's output in a text box or console type frame
(or...I know that Pythons standard GUI library tkinter doesn't embed very well, but it would be amazing if I could just write a little GUI program, with a button widget and output printed to a frame - my question therefore would be, does Python have a non-standard GUI library that can be embedded into a webpage?)
Which of these would be best? It is literally just as a fun little demo I am doing, but I want future knowledge of embedding Python too