[Tutor] Question on how to do something.

Alan Gauld alan.gauld at btinternet.com
Fri Jul 18 08:16:53 CEST 2008

"Mitchell Nguyen" <m1tchellnguyen at yahoo.com> wrote in message 
news:912405.29227.qm at web38603.mail.mud.yahoo.com...
Hello. I'm new to Python and I was wondering how to read all the files 
in a folder.

Take a look at the fileinput module, I think it will do what you want.

Alan G 

More information about the Tutor mailing list