Last active
September 15, 2020 07:16
-
-
Save wfng92/389eaa597d66f1fc5524650f0f45085b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from barcode import EAN13 | |
from barcode.writer import ImageWriter | |
with open('barcode.png', 'wb') as f: | |
EAN13('123456789102', writer=ImageWriter()).write(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment