Reputation: 552
Like
Enter = easygui.enterbox
print(Enter.text)
I don't know how to do that.What string name form easygui.enterbox?
Upvotes: 3
Views: 5244
Reputation: 473873
enterbox
is a function, quote from the tutorial:
enterbox(msg='Enter something.', title=' ', default='', strip=True)
Show a box in which a user can enter some text. You may optionally specify some default text, which will appear in the enterbox when it is displayed.
Returns the text that the user entered, or None if he cancels the operation.
Example:
import easygui
value = easygui.enterbox()
print(value)
Hope that helps.
Upvotes: 3