title: How to insert logo in the center of qrcode in Python?
body: <p>I am using pyqrcode module in python and generating QR code with it. How to put the logo in the center of that QR code.</p>
  
  <p>The code looks like this</p>
  
  <pre><code>import pyqrcode
  data = "Hello World!!"
  
  number = pyqrcode.create(data)
  number.png('xyz.png', scale=int(scale))
  
  with open('xyz.png', "rb") as f:
      return HttpResponse(f.read(), content_type="image/png")
  </code></pre>
  
  <p>Or is there any another way of doing this instead of pyqrcode?</p>