I am reading svg rectangles from a databse using python, I don\'t know if this is the right way, as it seems I am hardcoding, this because I want each rectangle to change co
As far as I can tell from you code, it looks like you should just be able to do:
for i, row in enumerate(c):
box_x = ((row[3]-row[1])/2 + row[1] - 0.25)
box_y = ((row[4]-row[2])/2 + row[2] - 0.25)
move1 = box_y * 2
try1 = row[1] * 2
print('Owned by {5} '.format(i, row[1], row[2], row[3] - row[1], row[4] - row[2], row[6]))