easygui
easygui copied to clipboard
Only the first call to enterbox() puts the dialog box in focus.
When you first call enterbox() (or codebox() which is dependent on it) later calls to enterbox() (or codebox()) won't have the dialog box in focus.
To reproduce, run import easygui as eg;eg.codebox();eg.textbox()
and notice that codebox() will be in focus but textbox() won't. You can also run import easygui as eg;eg.textbox();eg.codebox()
to notice that codebox() isn't in focus. The problem always seems to happen to the dialog box call after the first one.