title: How to Export Sql Server Result to Excel in Python
body: <p>I'm working with our own framework </p>
  
  <p>I want to export sql server result set (queried one) to excel using ion python.</p>
  
  <p>Inside the python file I can call that sql query result.</p>
  
  <p>Then I want to export that query result in to excel with headers.</p>
  
  <p>That means that once I call the python file, that query result should be saved as an excel spreadsheet.</p>
  
  <p>Please any one can help me to make this correctly?</p>