George Sakkis wrote: > > If by 'rooted' you mean old enough, so is 'goto'...
I was meaning a sort of (very) old style of programming. In fact I wrote some few hundreds lines on my own, but probably memory was much better the :) > will > thank yourself for doing so if you have to go back at this code a few > months later. I have to admit that's purely true :) > You can set a boolean "found" flag to False, make it True in the if Thank you to point it out, I forgotten such solution. BTW I was on the way of an "try/exept". But I should go back study the corect use :) > from fileinput import FileInput I'll read the manual (as you pointed hereby) and I think I can read the entire directory file by file. > Btw, you can delete a file or directory with os.unlink and os.rmdir, > respectively; no need for os.system. I still on learning, you know? :) Reading is the way to solve some problem, and your suggestions (you all) are very precious. F -- http://mail.python.org/mailman/listinfo/python-list