title: Removing Repeating text from csv
body: <p>The below code allow me to achieve this result but the </p>
  
  <ol>
  <li>I want the file name and Type to be like the picture beside that only contain one. </li>
  <li>Is there any ways to fix this problem? </li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/57HAa.png" alt="enter image description here"><img src="https://i.stack.imgur.com/ZadxV.png" alt="enter image description here"></p>
  
  <pre><code>if __name__ == '__main__': #start of program
  
  master = Tk()
  newDirRH = "C:/VSMPlots"
  FileName = "J12312312" 
  TypeName = "1234"
  Field = [1,2,3,4,5,6,7,8,9,10]
  Court = [5,4,1,2,3,4,5,1,2,3]
  
  
  newfile = newDirRH + "/Try1.csv"
  with open(newfile, "wb") as csvfile:
      writer = csv.writer(csvfile)
      writer.writerow(["FileName", "TypeName", "field", "court"])
      for field, court in zip(Field, Court):
          writer.writerow([FileName, TypeName, field, court])
  print "Done"
  </code></pre>