title: How to see "Actual execution plan" of our query in python?
body: <p>I have a sql query in python which is pretty slow, it contain some inner join,</p>
  
  <p>And some one suggest that in this case we can:  turn on the "Show Actual Execution Plan" option and then take a close look at what is causing the slowdown.</p>
  
  <p>Here some one has similar prolem as me : <a href="https://stackoverflow.com/questions/47104/slow-sql-query-due-to-inner-and-left-join">Slow SQL Query due to inner and left join?</a></p>
  
  <p>Does anyone know how can I see the "Actual Execution Plan" and "estimated Execution Plan" in sqlite inside a python script?</p>
  
  <p>I found some defenitions here :
  <a href="http://www.simple-talk.com/sql/performance/execution-plan-basics/" rel="nofollow noreferrer">http://www.simple-talk.com/sql/performance/execution-plan-basics/</a>
  But still don't know how to do it in python, Any recommendation? </p>
  
  <p>cheers </p>
  
  <p>Atieh</p>