Python find
George Sakkis
gsakkis at rutgers.edu
Tue May 25 12:36:51 EDT 2004
More information about the Python-list mailing list
Tue May 25 12:36:51 EDT 2004
- Previous message (by thread): Python find
- Next message (by thread): Python find
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all, I started writing a module to reproduce Gnu-find functionality in python (as far as I know, there's not one available; pyfind (http://www.anti-particle.com/pyfind.shtml) seems a bit relevant from it's webpage, though most links there are broken - also it's more of a standalone GUI tool than a reusable module). Some questions I have for now: - How can one get the filesystem name from python (e.g. for testing 'find -fstype nfs') ? - Does os.readlink perform a call to os.stat or os.lstat (or the equivalent C system calls) ? If yes, I would like to rewrite it for the case the stat info for a file has already been cached. - Before I write it from scratch, is there a converter for Unix permission strings (like "+go=rw") to numeric modes ? Thanks, George
- Previous message (by thread): Python find
- Next message (by thread): Python find
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list