Any recommendations for a cross-platform module that creates a directory object with not only file names, but file attributes as well?
Use cases: - Sort files by file size or date last modified - Filter files by read-only status I know I can use various standard library functions [1] to construct such a class, but I'd rather avoid re-inventing the wheel if at all possible. (I fear that this may be one of those seemingly easy tasks that starts off simple and ends up taking a lot more time to implement after real world refactoring). Malcolm [1] os.path.getmtime, os.path.getsize, os.W_OK, etc.
-- http://mail.python.org/mailman/listinfo/python-list