I need to accept info from the user in python's turtle. however the turtle.textinput function only works in versions 3.x and upwards is there an alternative I can use in version 2.X ?
1 Answer
This is what textinput actually does:
import tkSimpleDialog
tkSimpleDialog.askstring('title', 'prompt')
It requires you to have a turtle screen open, of course.
1 Comment
Jam-blue
thank you very much this worked perfectly. and after checking python.py I realised that this is the same function it calls (y)