Tim Chase wrote: > > Comparing file system paths as strings is very brittle. Is there a > > better way to test if two paths point to the same file or directory > > (and that will work across platforms?) > > os.path.samefile(filename1, filename2) > os.path.sameopenfile(fileobject1, fileobject2) >
Nice try, but they don't "work across platforms". -- http://mail.python.org/mailman/listinfo/python-list