Remove text below barcode in python barcode.py library

前端 未结 4 1098
星月不相逢
星月不相逢 2021-01-27 05:17

Does anyone know how to remove text below a bar-code? Bar-code is generated using barcode.py library. I was trying to check in https://bitbucket.org/whitie/python-b

4条回答
  •  有刺的猬
    2021-01-27 05:41

    Looking at the code, it appears you can set the attribute 'human' (human-readable text) to a non-empty string to override the text at the bottom. If this is set to a string with a single blank, ' ', the text will be empty.

提交回复
热议问题