Using python to generate QR-code