is it possible to do a command line style program in a gui in python?
Jarrah G
2008-12-22 16:32:25 UTC
i have made many programs in python in a command line setting but i whould like to know if it is possible to make a nonevent driven gui program in python to do the same thing as a command line program but look better
Three answers:
anonymous
2008-12-22 17:06:02 UTC
Quote:
"nonevent driven gui program".
You can picture a GUI program without events? Cause I can't.
EDIT: Text fields and message prompts are a common means to get user input from GUI environment.
rich
2008-12-24 01:03:48 UTC
Try EasyGUI: http://easygui.sourceforge.net/
It allows you to add GUI features to you command line script.
"EasyGUI is different from other GUIs in that EasyGUI is NOT event-driven. It allows you to program in a traditional linear fashion, and to put up dialogs for simple input and output when you need to."
anonymous
2008-12-23 01:30:33 UTC
You can use something like Django to get a web page "form". This isn't event-driven so much as it is a stateless request-response format.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.