mirror of
https://github.com/x-hw/amazing-qr.git
synced 2026-04-26 20:32:06 +02:00
a65ebdc0c364c321caa69cbecb33bf780a15b9de
QR-Code
QR Code in Python
Python QR二维码生成器
Example 示例
python myqrcode.py -l H https://github.com/sylnsfar/QR-Code
Usage 用法
python myqrcode.py [-l [L,M,Q,H]] xxxxxx
-
The
myqrcode.pyis the main file.myqrcode.py是主文件。 -
Argument
-lor--levelmeans the Error Correction Level: L(Low), M(Medium), Q(Quartile) and H(High). The default level is Q, so that you can justpython myqrcode.py xxxxxxx.参数
-l或者--level代表纠错等级:L、M、Q 和 H(从低到高)。默认使用的等级是 Q,所以可以直接python myqrcode.py xxxxx。 -
xxxxxxis the words that you are putting into a QR-Code. You can write a URL or a sentence.xxxxxx代表要生成 QR 二维码的信息,可以是一个链接地址,也可以是其它字符串。
Supported 可用字符
-
Numbers:
0~9数字 0 到 9
-
Letters:
a~z, A~Z大小写的英文字母
-
Common punctuations:
常用英文标点符号和空格
· , . : ; + - * / \ ~ ! @ # $ % ^ & ` [ ] ( ) ? _ { } | and (space)
Languages
Python
100%


