That is a nice piece of code, I cracked the idea of the shift; problem, my final problem is still how to convert
my @row = $sth->fetchrow_array; $$StartDate = $row[0]; $$EndDate = $row[1]; $sth->finish() into python code as i'm not sure what $$ means Any help on this final part would be great! Mike -- http://mail.python.org/mailman/listinfo/python-list