pip install pyBarcode python from barcode import Code39 from barcode.writer import ImageWriter python barcode_data = "12345678" output_filename = "barcode" python code39 = Code39(barcode_data, writer=ImageWriter()) python code39.save(output_filename) python print("Generated barcode image:", output_filename)


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