3 ms·
Don't know what type of environment/target were looking to display information to / interact with user in. aka web browser, text command line, and/or standard g
by sargstuff 2y ago
Don't know what type of environment/target were looking to display information to / interact with user in. aka web browser, text command line, and/or standard graphical operating system window (aka MS Windows, MacOS, Linux Xwindows).
There are various GUI frameworks/toolkits that add features to/extend the python language.[1] (vs. implementing one's own)
GUI design tool provides a simple way to get started. aka use gui design tool to build gui, then examine the source code.
NICEGui demo[2]
Bit advanced for request, but the framework/toolkit documentation / source code could provide some ideas on what's needed for / how to build a framework/toolkit. (and/or just simple box with border & text prompt)
----------
[1] : Python GUI toolkits : https://wiki.python.org/moin/GuiProgramming https://wiki.python.org/moin/GuiProgramming
[2] : https://nicegui.io/#demos https://nicegui.io/#demos