codefire wrote: > As above it all works as expected. However, on the marked line, if I > use f instead of fp then that condition returns false! Surely, > isfile(f) should return true, even if I just give a filename, rather > than the full path?
Hi Tony, Actually the file is in a different directory from the working directory, so you need to give it the path where to find it. If you started the script from 'c:\intent\docn' (i.e., start_dir), then just using f would work. Regards, Jordan -- http://mail.python.org/mailman/listinfo/python-list