📜  python 条码生成器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:27.133000             🧑  作者: Mango

代码示例1
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import barcode
from barcode.writer import ImageWriter

EAN = barcode.get_barcode_class('ean13')
ean = EAN(u'123456789011', writer=ImageWriter())
fullname = ean.save('my_ean13_barcode')