コード例 #1
0
"""
Almost identical to show_text_input.py except that we specify a default
response for the textbox. This argument should be returned when
the ok button is pressed without entering text before.
"""

import os
import sys

sys.path.insert(0, os.getcwd())

try:
    from easygui_qt import easygui_qt
except ImportError:
    print("problem with import")

name = easygui_qt.text_input(message="What is your name?", title="Mine is Reeborg.", default_response="Hello")

print(name, end="")
コード例 #2
0
"""
Almost identical to show_text_input.py except that we specify a default
response for the textbox. This argument should be returned when
the ok button is pressed without entering text before.
"""

import os
import sys
sys.path.insert(0, os.getcwd())

try:
    from easygui_qt import easygui_qt
except ImportError:
    print("problem with import")

name = easygui_qt.text_input(message="What is your name?",
                            title="Mine is Reeborg.",
                            default_response="Hello")

print(name, end='')

コード例 #3
0
import os
import sys
sys.path.insert(0, os.getcwd())

try:
    from easygui_qt import easygui_qt
except ImportError:
    print("problem with import")

name = easygui_qt.text_input(message="What is your name?",
                            title="Mine is Reeborg.")

print(name, end='')

コード例 #4
0
import os
import sys

sys.path.insert(0, os.getcwd())

try:
    from easygui_qt import easygui_qt
except ImportError:
    print("problem with import")

name = easygui_qt.text_input(message="What is your name?",
                             title="Mine is Reeborg.")

print(name, end='')