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> -- http://mail.python.org/mailman/listinfo/python-list