On Jun 12, 1:56 pm, lucius <lucius.fo...@gmail.com> wrote: > w, h, absX, absY = result.group(3), result.group(4), result.group > (5), result.group(6) > > w = 100 > h = 200 > > absX = 10.0 > absY = 20.0
Are you sure those values are ints & floats? I would expect your regexp would be returning strings... Try replacing the %f & %d strsubs with %s and see if that works. (You shouldn't need to typecast the values if you're just reinserting them into a string...) -- http://mail.python.org/mailman/listinfo/python-list