Exemple #1
0
def mmvt_input(message, gui, style=1):
    try:
        import pymsgbox
    except:
        gui = False

    if gui:
        ret = utils.message_box(message, TITLE, style)
    else:
        ret = input(message)
    return ret
Exemple #2
0
def mmvt_input(message, gui, style=1):
    if gui:
        ret = utils.message_box(message, TITLE, style)
    else:
        ret = input(message)
    return ret