Determining whether it's a file or a directory?
From: Dfenestr8 (nospam_at_hotmail.com)
Date: Fri, 08 Oct 2004 18:39:22 +0900
os.listdir("path") returns the names of all the items in a directory ok,
but I need to know whether the item is a file or a directory.
Can anybody tell me how this could be done?