Read csv file and create a new file

io maroso at
Thu Feb 28 20:14:36 CET 2013


i have to files. 

First file is a csv file
Second file is a plain text file where each row has a value (text)

I want to be able to create a third file using data from the first file 
excluding the values listed in the second file.


First file:

mtgoxeur	12	24	36
mtgoxusd	10	12	14
mtgoxpln	2	4	6

Second file:


Third File (the resulting one) :

mtgoxeur	12	24	36
mtgoxpln	2	4	6

Thanks to anyone that can help

More information about the Python-list mailing list