import barcode
str = '4569951116179'
bc = barcode.get_barcode_class('jan')
img = bc(str,writer=ImageWriter())
img.save('barcode')
import barcode
str = '4569951116179'
bc = barcode.get_barcode_class('jan')
img = bc(str,writer=ImageWriter())
img.save('barcode')