lameck kassana wrote: > At last i did it it was this wrong line file_count += len(files) ---it > supposed to be file_count+=1 > but thanks for help ya python masters .Steven Holden ,,,, thanks very > very much for your tip about raw string > Lameck:
Please note that file_count = 0 for files in (...): file_count += 1 can be *much* more efficiently expressed as file_count = len(...) regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list