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. I'm still stuck in 2.3. James On Wednesday 25 May 2005 12:18 am, Fredrik Lundh wrote: > w.index("@x,y" % (event.x, event.y)) -- James Stroud UCLA-DOE Institute for Genomics and Proteomics Box 951570 Los Angeles, CA 90095 http://www.jamesstroud.com/ -- http://mail.python.org/mailman/listinfo/python-list