title: Write column headers with xlwtin Python
body: <p>I am trying to parse some Twitter Streaming API data and write specific fields to a column within an Excel workbook.  Using <code>xlwt</code>, I've been able to write the columns to the Excel document, but I haven't found a good way to include the column headers.  </p>
  
  <p>I know what want each column to be labels in row 1, so it is not necessary to parse column names from the original data.  Column 1 header should be "user_screen.name" and column 2 header should be "user_lang"</p>
  
  <pre><code>import sys
  import json
  import xlwt
  
  
  data = []
  
  
  for line in open(sys.argv[1]):
      try:
          data.append(json.loads(line))
      except:
          pass
  
  authors = [i['user']['screen_name'] for i in data]
  lang = [i['lang'] for i in data]
  
  workbook = xlwt.Workbook()
  worksheet = workbook.add_sheet('Sheet 1')
  
  column_number = 0
  for row_number, item in enumerate(authors):
      worksheet.write(row_number, column_number, item)
  
  column_number = 1
  for row_number, item in enumerate(lang):
      worksheet.write(row_number, column_number, item)
  
  workbook.save('tweets.xls')
  </code></pre>