简体   繁体   English

使用 python 从字母数字字符串生成条形码

[英]generate barcode from alphanumeric string using python

How can I generate barcode in python using alphanumeric strings?如何使用字母数字字符串在 python 中生成条形码? All the answers are for generating barcode using numbers only (using barcode package).所有答案都是仅使用数字生成条形码(使用barcode包)。

eg value: "ABC1234XYZ"例如值:“ABC1234XYZ”

Referred https://www.geeksforgeeks.org/how-to-generate-barcode-in-python/ which talks about generating barcode in python.参考https://www.geeksforgeeks.org/how-to-generate-barcode-in-python/讨论在 python 中生成条形码。 But a alphanumeric string cannot be used here.但此处不能使用字母数字字符串。

From Python-barcode documentation, it states that it support different barcode type, including Code39 & Code128 etc which support alphanumeric values从 Python-barcode 文档中,它声明它支持不同的条形码类型,包括支持字母数字值的 Code39 和 Code128 等

https://python-barcode.readthedocs.io/en/stable/ https://python-barcode.readthedocs.io/en/stable/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM