curtissol at my-deja.com wrote: > if __name__ == "__main__": > ShowDirContents(os.getcwd()+"\Doc") better to use: ShowDirContents(os.path.join(os.getcwd(), "Doc")) as explained just the other day in the thread with the title: Newbie question ... reading modules from directories in Windows -- groetjes, carel