title: skip first line from text file while inserting into sql table
body: <p>I have text file employee.txt and i am inserting it into sql table but i am getting 1st line same with headers followed by my table values.I am very new to python.how do i remove that first line in table which is header.</p>
  
  <pre><code>inpfile=open('C:/Users/chari/Documents/employee.txt','r')
  while 1:
      line=inpfile.readline()
      if line=='':
             break
      serial_no,first_name,last_name,age,sex,city=line.split()
      stmt = ("""insert into employee(serial_no, first_name,last_name,age,sex,city)""" +"values"
          +str((serial_no,first_name,last_name,age,sex,city)))
      cursor.execute(stmt)
  </code></pre>