python barcode
时间: 2023-10-12 21:05:15 浏览: 199
Python的barcode库是用于生成条形码的库。可以通过barcode.PROVIDED_BARCODES来查看该库支持的条形码格式。 例如,可以使用EAN = barcode.get_barcode_class('code39')来创建code39格式的条形码对象。然后,可以通过传入条形码内容并指定保存路径来生成条形码图片。 另外,还有一个著名的Python条码扫描库叫做zbar,但它已经停止维护。对于Python3,更常用的是pyzbar库。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [python生成条形码和二维码](https://blog.csdn.net/weixin_49898946/article/details/122301307)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [怎样用Python识别条形码?](https://blog.csdn.net/qiqi1220/article/details/126768532)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文