问题
I am looking for qrcode generator for python window version. Can anyone help me to find out.
I didn't get anywhere.
Please help me.
Thanks, manu
回答1:
either you have to
- Compile it yourself; or
- if you only need to generate the codes (i.e. encoding but no decoding), use pyqrencode that you can get from PyPi (e.g.
pip install pyqrencode
)
If you don't have pip, I suggest you start by installing setuptools and then use easy_install
to install pip (of course, you can cut corners by just doing an easy_install pyqrencode
回答2:
Try pyqrnative
it's a Python port of an existing Javascript library to generate QR Codes.
http://code.google.com/p/pyqrnative/
- Christian
回答3:
http://pypi.python.org/pypi/qrcode
回答4:
The self-proclaimed hackish pyqrcode seems to do both decode and encode. The encode is in C++ and the Decode is in Java. Python glues them together.
回答5:
pyqrnative is working pretty well for me. I wish I could find some documentation in English for it. Would like to know the relationship between data content size and the first "typeNumber" argument.
来源:https://stackoverflow.com/questions/3888125/qrcode-generator-using-python-for-windows