Search code examples
python-3.xeasygui

Easygui output to easygui dialogue?


How can I make easygui output to an easygui dialogue, rather than the terminal from which the x.py was invoked.

If I run my python script from a terminal, the easygui dialogue boxes appear and work, but the output is displayed in the terminal and not easygui.


Solution

  • easygui.msgbox('hello world', title='hello world', ok_button = 'yes')
    

    that is a way to out put easygui msg