title: MySQL with Python
body: <p>I have this code within my Query on MySQL now. I'm trying to use this on python, but when I'm doing</p>
  <pre><code>Query = ('SELECT price, book,
           FORMAT((price / book)*100,'P') as price_ratio 
           FROM book_db') 
  </code></pre>
  <p>the python didn't accept the 'P,' how I should right this Query on python, so it will accept the <code>'P'</code> Thank you</p>