On Thu, 13 Jan 2005 04:51:22 -0800 (PST), Sara Fwd <[EMAIL PROTECTED]> wrote: > Hi all > > Can anybody help me find a module or a function that > looks in a directory and defines whether the objects > in there are files or directories?
See os.path.isfile() and os.path.isdir() - <http://docs.python.org/lib/module-os.path.html>. -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list