title: Writing an Excel spreadsheet with Python3
body: <p>Hello I want to write some of my data from my program to a spreadsheet. I am running python3 and have installed <strong>xlsxwriter</strong> package.</p>
  <p>But totally new to <strong>xlsxwriter</strong></p>
  <p>Here is my dict which I want to write as spreadsheet.</p>
  <pre><code>[
      { 
          'name': 'xyz', 
          'data': [
              { 
                  'price': '$29.95', 'service': 'website'
              },
              { 
                  'price': '$7.08', 'service': 'network'
              }
          ], 
          'total': '$37.03',
          'start_date': '2020-12-01',
          'end_date': '2020-12-01'
      },
      { 
          'name': 'test', 
          'data': [
              { 
                  'price': '$112.43', 'service': 'website'
              },
              { 
                  'price': '$188.82', 'service': 'network'
              }
          ], 
          'total': '$301.25',
          'start_date': '2020-12-01',
          'end_date': '2020-12-01'
      }
  ]
  </code></pre>
  <p>and here is the output that I want.</p>
  <p><a href="https://i.stack.imgur.com/demsk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/demsk.png" alt="enter image description here" /></a></p>
  <p>Would you please help me how I can do this <strong>xlsxwriter</strong></p>