title: how to generate qr code with python and when scanned make it open a url defined?
body: <p>How do I generate a qr code which when scanned opens a url? is it possible to use a library like qrcode or pyqrcode to accomplish this?</p>
  <p>something like this :</p>
  <pre><code>pyq = QRCode()
  pyq.generate(url=&quot;http://google.com/&quot;)
  </code></pre>