作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
喜欢
Enter = easygui.enterbox
print(Enter.text)
我不知道该怎么做。什么字符串名称形成 easygui.enterbox?
最佳答案
enterbox
是一个函数,引用自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.
例子:
import easygui
value = easygui.enterbox()
print(value)
希望对您有所帮助。
关于python - 如何从 easygui.enterbox 收集字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22188128/
喜欢 Enter = easygui.enterbox print(Enter.text) 我不知道该怎么做。什么字符串名称形成 easygui.enterbox? 最佳答案 enterbox 是一个
有没有办法指定 easygui.enterbox 或 easygui.multenterbox 在屏幕上的位置? 如果用户移动窗口,希望读取当前位置?我有一个无限循环,要求用户输入,并且希望在用户移动
我是一名优秀的程序员,十分优秀!