i think u've misunderstood my question. Your solution will print on a new line as below: c:\godwin\bl.csv 1 c:\godwin\bl.csv 2 c:\godwin\bl.csv 3 But i want this number to diplay their value increase on the same line on the same sport itself without printing the filename multiple times on multiple lines: c:\godwin\bl.csv ^ If i were to do it in the c language i would use the conio.h and gotxy function with printf. printf("c:\\godwin\\bl.csv"); for(i=0;i<rows;i++) { gotoxy(10,20); printf("%d",rows+1); } Sorry for bothering u again!
-- http://mail.python.org/mailman/listinfo/python-list