title: Python 2 csv files parser that outputs what is in file1.csv but not in file2.csv
body: <p>Since is my first post I want to say hello all, and I'm glad to be in this awesome comunity! I want to learn programing and I decided to start with python, I already have like 2 months in python, so I'm at a beginner level.</p>
  <p>My first challange is to help a friend that have the following situation, I can understand basic python functions but the script I need is a bit complex for my lvl.</p>
  <p>So I have 2 csv files (file1.csv, file2.csv), I need to check based on a index[<strong>codfiscal</strong>] from file2.csv in each line if that index is in file1.csv in any line, and if it isn't print all that line in file3.csv.
  To give a example to better understand my problem I will post some samples examples:</p>
  <h2><strong>Input:</strong></h2>
  <h1>file2.csv</h1>
  <p>Denumire;<strong>codfiscal</strong>;jreg;adresaCOR;adresaNLC;judet1;localitate;tipclient;stare;nu plateste la soc:;Stare firma;an_jreg</p>
  <p>&quot;&quot;&quot;ACNORD&quot;&quot;-P SRL&quot;;<strong>15444630</strong>;J2/614/2003;  NR 14;  NR 14;ARAD;SANMARTIN;PJ;FUNCTIUNE;ENEL;active;2003</p>
  <p>&quot;&quot;&quot;ARBU&quot;&quot;- TOY SRL&quot;;<strong>12766886</strong>;J2/122/2000;  SOS. CURTICI- DOROBAN?I NR F.N.;  SOS. CURTICI- DOROBAN?I NR F.N.;ARAD;CURTICI;PJ;FUNCTIUNE;ENEL;active;2000</p>
  <p>(IN.A.P.S) INARCH PREMO STRUCTURES SRL;<strong>16420906</strong>;J2/844/2004;  B-DUL GENERAL VASILE MILEA NR 3 ET 2 AP 11;  B-DUL GENERAL VASILE MILEA NR 3 ET 2 AP 11;ARAD;ARAD;PJ;FUNCTIUNE;ENEL;active;2004</p>
  <p>?IRU CONSTRUCT SRL;<strong>22802765</strong>;J35/4342/2007;  STR. TESATORILOR NR 8A ET 4 AP 10;  STR. TESATORILOR NR 8A ET 4 AP 10;TIMIS;LUGOJ;PJ;FUNCTIUNE;ENEL;active;2007</p>
  <p>?OLEA INTER-COM SRL;<strong>16918200</strong>;J2/1887/2004;  NR 276;  NR 276;ARAD;GROSENI;PJ;FUNCTIUNE;ENEL;active;2004</p>
  <h1>file1.csv</h1>
  <p>Denumire;<strong>codfiscal</strong>;jreg;adresaCOR;adresaNLC;judet1;localitate;tipclient;stare;nu plateste la soc:;Stare firma;an_jreg</p>
  <p>&quot;&quot;&quot;ACNORD&quot;&quot;-P SRL&quot;;<strong>15444630</strong>;J2/614/2003;  NR 14;  NR 14;ARAD;SANMARTIN;PJ;FUNCTIUNE;ENEL;active;2003</p>
  <p>&quot;&quot;&quot;ARBU&quot;&quot;- TOY SRL&quot;;<strong>12766886</strong>;J2/122/2000;  SOS. CURTICI- DOROBAN?I NR F.N.;  SOS. CURTICI- DOROBAN?I NR F.N.;ARAD;CURTICI;PJ;FUNCTIUNE;ENEL;active;2000</p>
  <p>(IN.A.P.S) INARCH PREMO STRUCTURES SRL;<strong>16420906</strong>;J2/844/2004;  B-DUL GENERAL VASILE MILEA NR 3 ET 2 AP 11;  B-DUL GENERAL VASILE MILEA NR 3 ET 2 AP 11;ARAD;ARAD;PJ;FUNCTIUNE;ENEL;active;2004</p>
  <p>.A.S.A. SERVICII ECOLOGICE SRL;<strong>14822567</strong>;J2/648/2002;  ZONA CET - SOSEAUA CENTURA NORD NR FN;  ZONA CET - SOSEAUA CENTURA NORD NR FN;ARAD;ARAD;PJ;FUNCTIUNE;ENEL;active;2002</p>
  <p>?AIZAR CONS SRL;<strong>23957563</strong>;J11/441/2008;  B-DUL REPUBLICII NR 25 SC 3 ET 8 AP 29;  B-DUL REPUBLICII NR 25 SC 3 ET 8 AP 29;CARAS-SEVERIN;RESITA;PJ;FUNCTIUNE;ENEL;active;2008</p>
  <p>?ICA - STRONG SRL;<strong>15528110</strong>;J2/745/2003;  STR. OCSKO TEREZIA BL 11 SC B ET 2 AP 6;  STR. OCSKO TEREZIA BL 11 SC B ET 2 AP 6;ARAD;ARAD;PJ;FUNCTIUNE;ENEL;active;2003</p>
  <p>?IGHERTU CONSTRUCT SRL;<strong>19298294</strong>;J2/2238/2006;  STR. CEZAR NR 5;  STR. CEZAR NR 5;ARAD;ARAD;PJ;FUNCTIUNE;ENEL;active;2006</p>
  <h2><strong>Wanted Output:</strong></h2>
  <h1>file3.csv</h1>
  <p>Denumire;<strong>codfiscal</strong>;jreg;adresaCOR;adresaNLC;judet1;localitate;tipclient;stare;nu plateste la soc:;Stare firma;an_jreg</p>
  <p>?IRU CONSTRUCT SRL;<strong>22802765</strong>;J35/4342/2007;  STR. TESATORILOR NR 8A ET 4 AP 10;  STR. TESATORILOR NR 8A ET 4 AP 10;TIMIS;LUGOJ;PJ;FUNCTIUNE;ENEL;active;2007</p>
  <p>?OLEA INTER-COM SRL;<strong>16918200</strong>;J2/1887/2004;  NR 276;  NR 276;ARAD;GROSENI;PJ;FUNCTIUNE;ENEL;active;2004</p>
  <p>This are my csv samples, edited them a little so that you can see them better(ignore the spaces).</p>
  <p>Important, my real data is like 100k lines on file1.csv and 50k lines on file2.csv. So the script must handle big data. I had this data on xcell files and I suposed that will be more easy to work with cvs and then convert  back!</p>
  <p>Thanks so much for your time, all help will be greatly apreciated!</p>