制作二维码[Python常见问题]

from MyQR import myqr
import os

#1、黑白、L,其他参数默认
version, level, qr_name = myqr.run(
    words="https://timgsa.baidu.com/timg?im age&quality=80&size=b9999_10000&sec=1585158602697&di=be92c2116d1b5c26d079c1bac3681403&imgtype=0&src=http%3A%2F%2Fdpic.tiankong.com%2Fu3%2Fw3%2FQJ6343127301.jpg",
    version=1,
    level="H",
    picture="aa.jpg",#
    colorized=True,
    contrast=1.0,
    brightness=1.0,
    save_name="lihao.png",
    save_dir=os.getcwd()
   )
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » 制作二维码