tags:

views:

101

answers:

2

I am trying to prompt the user to enter a string of text. Is there available with python tkinter a Javascript like prompt?

A: 

One of those situations where I find it after the question has been posted and since I had trouble finding the answer I will keep the question up.

You can use a tkSimpleDialog.

MitMaro
+2  A: 

Yes, use tkSimpleDialog.askstring. Unfortunately this isn't in the main Python docs, so it's a bit hard to find.

Nicholas Riley