question

Rikard Bosnjakovic rikard at strakt.com
Mon Oct 29 02:10:39 EST 2001


rong yuan wrote:

> Hi,
> I am a new python programmer. I wrote a simple program
> to extract data frome files. The question is I have
> thousands of this same frame files. How can I run my
> program to read all of them automatically?


Loop through a globbed list of filenames?

Have a look at the glob-module:

	<URL:http://www.python.org/doc/current/lib/module-glob.html>




-- 
Cheers,
------------------------------------------------------------------------
Rikard Bosnjakovic                               http://bos.hack.org/cv/
Python Hacker                                          rikard at strakt.com
AB Strakt                                                   bos at hack.org




More information about the Python-list mailing list