Curious issue with simple code
fredrik at pythonware.com
Tue Sep 19 19:28:02 CEST 2006
> 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?
try printing both "f" and "fp", and see if you can tell the difference
between the two filenames...
More information about the Python-list