csv add lines

Francesco Guerrieri f.guerrieri at gmail.com
Mon Jan 14 16:01:40 CET 2008

On Jan 14, 2008 3:52 PM, Alexandru Dumitrescu
<alexandru.dumitrescu at gmail.com> wrote:
>  Hi,
> I'm new to this list and to python.
>  I am wondering, am I able to make my program read the *.txt files from a
> directory and
>  to add, at the top of the file, three new lines which are stored in a *.csv
> file?

Maybe you are still not able to do it :-)
But if you give a look at the csv module you probably will be
in a short time.

Just read

where you will learn how to parse a csv file.


More information about the Python-list mailing list