Generate Qrcode using qrcode python library
1- Import qrcode library
import qrcode
Enter fullscreen mode Exit fullscreen mode
2- Declare url variable
url = "www.dev.to"
Enter fullscreen mode Exit fullscreen mode
3- Generate Qrcode
code = qrcode.make(url)
Enter fullscreen mode Exit fullscreen mode
4- Choose Filename & Save
code.save("my_qrcode")
Enter fullscreen mode Exit fullscreen mode
© 版权声明
THE END
暂无评论内容