I found it: os.path.exists(path)
On Fri, 2005-07-22 at 09:22 -0400, rbt wrote: > How can I find broken links (links that point to files that do not > exist) in a directory and remove them using Python? I'm working on RHEL4 > > Thanks, > rbt -- http://mail.python.org/mailman/listinfo/python-list