[Chicago] Reading From a Directory

Dan McGee dpmcgee at gmail.com
Tue May 10 01:39:18 CEST 2011


On Mon, May 9, 2011 at 6:32 PM, Clyde Forrester
<clydeforrester at gmail.com> wrote:
> What I want to do is open a directory and read file names from it.

Will none of the following do what you are looking for?

http://docs.python.org/library/os.html#os.walk
http://docs.python.org/library/os.html#os.listdir
http://docs.python.org/library/glob.html

-Dan


More information about the Chicago mailing list