[Tutor] Parsing data from a set of files iteratively

Sarma Tangirala tvssarma.omega9 at gmail.com
Fri May 18 20:27:41 CEST 2012

On 18 May 2012 23:53, Spyros Charonis <s.charonis at gmail.com> wrote:

> Dear Python community,
> I have a set of ~500 files which I would like to run a script on. My
> script extracts certain information and
> generates several lists with items I need. For one of these lists, I need
> to combine the information from all
> 500 files into one super-list. Is there a way in which I can iteratively
> execute my script over all 500 files
> and get them to write the list I need into a new file? Many thanks in
> advance for your time.
> Spyros

Hi Spyros,

Did you try writing some code to achieve this?

An monkey typed up this email. Please excuse him if he made a stupid error!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120518/bc2afb5e/attachment.html>

More information about the Tutor mailing list