On Jan 14, 2008 3:52 PM, Alexandru Dumitrescu
<[EMAIL PROTECTED]> 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
http://docs.python.org/lib/module-csv.html

where you will learn how to parse a csv file.

bye,
Francesco
-- 
http://mail.python.org/mailman/listinfo/python-list
  • csv add lines Alexandru Dumitrescu
    • Re: csv add lines Francesco Guerrieri

Reply via email to