Determining whether it's a file or a directory?
From: Dfenestr8 (nospam_at_hotmail.com)
Date: 10/08/04
- Next message: Remco Boerma: "Re: pythondoc or epydoc?"
- Previous message: Egbert Bouwman: "Re: Graceful handling of first line"
- Next in thread: Peter Otten: "Re: Determining whether it's a file or a directory?"
- Reply: Peter Otten: "Re: Determining whether it's a file or a directory?"
- Reply: Aaron Bingham: "Re: Determining whether it's a file or a directory?"
- Reply: Scott David Daniels: "Re: Determining whether it's a file or a directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: Remco Boerma: "Re: pythondoc or epydoc?"
- Previous message: Egbert Bouwman: "Re: Graceful handling of first line"
- Next in thread: Peter Otten: "Re: Determining whether it's a file or a directory?"
- Reply: Peter Otten: "Re: Determining whether it's a file or a directory?"
- Reply: Aaron Bingham: "Re: Determining whether it's a file or a directory?"
- Reply: Scott David Daniels: "Re: Determining whether it's a file or a directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]