16 lines
736 B
Markdown
16 lines
736 B
Markdown
|
Here's a little demo program in response to this help request on Reddit:
|
||
|
|
||
|
https://www.reddit.com/r/learnprogramming/comments/h884vg/is_there_any_easy_gui_maker_for_python/
|
||
|
|
||
|
The idea is to get an initial value in an input box, then get 3 more values in the same box.
|
||
|
|
||
|
In this implementation you can press the "Enter" button or the return key to enter a value.
|
||
|
|
||
|
The result is put into a single list that is shown at the end.
|
||
|
|
||
|
On Windows it looks like this:
|
||
|
|
||
|
![MultipleDataEntry.gif](/api/files/5ee5fd2b09d89ef644e0d1c3/multipledataentry.gif "MultipleDataEntry.gif")
|
||
|
|
||
|
<iframe src='https://trinket.io/embed/pygame/89f47bbe54?start=result' width='100%' height='500' frameborder='0' marginwidth='0' marginheight='0' allowfullscreen></iframe>
|