Scarlett stone
Scarlett stone

Reputation: 225

Create barcode ean13 with format like 00000012345

I was try to create barcode using python. I was try to use pyBarcode library. When i was try to create barcode from value 12345. I got result like 123452 or 123454. But the format what i need it like 13 digit and like 0000001234567 or 1123456000008.

I was try like this :

import barcode

ean = barcode.get_barcode_class("ean13")
ean_final = ean(u"12345")

Upvotes: 0

Views: 736

Answers (0)

Related Questions