Creating a popup message box with an Entry field

前端 未结 3 2179
情深已故
情深已故 2020-12-09 12:05

I want to create a popup message box which prompts user to enter an input. I have this method inside a class. I am basing my code on this guide by java2s.

cl         


        
3条回答
  •  自闭症患者
    2020-12-09 12:31

    I just tried this:

    def get_me(): s = simpledialog.askstring("input string", "please input your added text")

    Source: https://www.youtube.com/watch?v=43vzP1FyAF8

提交回复
热议问题