pip install pyBarcode python from pyBarcode import EAN13 barcode = EAN13(data) barcode.save(filename) python from pyBarcode import Code128 data = "Hello, pyBarcode!" filename = "barcode.png" barcode = Code128(data, options={"height": 50, "font_size": 12, "text_distance": 1}) barcode.save(filename)


上一篇:
下一篇:
切换中文