title: the ',' automatically split a line into 3 rows
body: <p>I have a for loop, in which i have a line </p>
  
  <blockquote>
    <p>I am happy,how are you,fine that thankyou</p>
  </blockquote>
  
  <p>When i write this to a csv file it is splitting into 3 rows :</p>
  
  <p>I am happy -1st row</p>
  
  <p>how are you- 2nd row</p>
  
  <p>fine that thankyou -3rd row</p>
  
  <p>How can i get everything into the 1st row?</p>
  
  <pre><code>for item in soup.select('div.view-content ol li'):
      with open('small.csv','a') as f1:
          writer=csv.writer(f1, delimiter='    ',lineterminator='\n',)
          for elm in soup.findAll("h4"):
              for a in elm.findAll('a'):
                  texts=a.text
                  texts=texts.replace(",", ";")
                  linked=a.get('href')
                  link='http://www.india.gov.in'+linked
                  link=link.replace("http://",result+"http://")
                  link=link+"\n"
                  f1.seek(0)
                  writer.writerow(texts)
  inFile = open('small.csv','r')
  outFile = open('large.csv','w')
  listLines = []
  for line in inFile:
  if line in listLines:
      continue
  else:
      outFile.write(line)
      listLines.append(line)
  outFile.close()
  
  inFile.close()
  </code></pre>