-
-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
Description
Here is my code:
import barcode
from barcode.writer import ImageWriter
varGS1 = barcode.get_barcode_class('gs1')
varGS1out = varGS1(u'42053005383691149014', writer=ImageWriter)
fullname = varGS1out.save('C:\\Users\\PaulPers\\Desktop\\GS1_barcode')
and I get the following error:
Traceback (most recent call last):
File "", line 5, in
File "C:\Users\PaulPers\AppData\Roaming\Python\Python37\site-packages\barcode\isxn.py", line 50, in init
raise WrongCountryCodeError('ISBN must start with 978 or 979.')
barcode.errors.WrongCountryCodeError: ISBN must start with 978 or 979.
Thank you.