On Fri, May 14, 2010 at 6:12 AM, albert kao <albertkao3 at gmail.com> wrote: > My program plan to use only files but ignore directories on Windows. > I google but do not find some functions like > bool isFile(string) > bool isDirectory(string) > Please help. Try looking up the os module. cheers James