Tkinter Text Question

Fredrik Lundh fredrik at pythonware.com
Wed May 25 16:24:53 EDT 2005


James Stroud wrote:

> Thank you Fredrik, this worked beautifully. I had no idea about the "@"
> prefix. Incidentally, I had to change the code to
>
> w.index("@%s,%s" % (e.x, e.y))
>
> Maybe the x,y is a python 2.4 thing.

no, it's a think-before-cutting-and-pasting thing.  should have
been "@%d,%d"

</F>






More information about the Python-list mailing list