Remove text below barcode in python barcode.py library

前端 未结 4 1162
星月不相逢
星月不相逢 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:34

    If you import "barcode", the solution is:

    import barcode
    barcode.base.Barcode.default_writer_options['write_text'] = False
    

提交回复
热议问题