title: how to generate barcodes with this python format?
body: <p>I have come to ask a little question, I installed some python modules to generate barcodes(python-barcode, pybarcode, treepoem, PyUPC-EAN etc.), however this image is generated:</p>
  
  <p>image1:</p>
  
  <p><img src="https://i.stack.imgur.com/afq76.png" alt="1.png"></p>
  
  <p>I want is to know if there is some way or other module that generates the codes in this way:</p>
  
  <p>image2:</p>
  
  <p><img src="https://i.stack.imgur.com/vAayX.jpg" alt="2.jpg"></p>
  
  <p>this is the code is the one I used for image 1:</p>
  
  <pre><code>import barcode
  from barcode.writer import ImageWriter
  
  def genUPCA(code,coding,name):
      cod = barcode.get(code, coding, writer=ImageWriter())
      filename = cod.save(name)
  
  genUPCA('upca', '123456789102', 'image')
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>    from __future__ import absolute_import, division, print_function, unicode_literals;
      import upcean
  
      barcode = upcean.oopfuncs.barcode('upce', '01234567')
      print(barcode.validate_checksum())
      barcode.validate_create_barcode("./IMAGE.png", 4)
  </code></pre>
  
  <p>output: False</p>
  
  <p><strong>eror:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\oo.DESKTOP-8BMSU73\Anaconda3\lib\site-packages\upcean\barcodes\codabar.py", line 33, in create_codabar_barcode
      pil_ver = Image.PILLOW_VERSION;
  AttributeError: module 'PIL.Image' has no attribute 'PILLOW_VERSION'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "E:\Tareas\T.py", line 12, in &lt;module&gt;
      image = upcean.oopfuncs.barcode("codabar", "A1234567890B").draw_barcode(2)
    File "C:\Users\oo.DESKTOP-8BMSU73\Anaconda3\lib\site-packages\upcean\oopfuncs\oopfuncs.py", line 115, in draw_barcode
      return upcean.barcodes.draw_barcode(self.type, self.code, size, (self.hidesn, self.hidecd, self.hidetext), self.barheight, self.textxy, (self.barcolor, self.textcolor, self.bgcolor));
    File "C:\Users\oo.DESKTOP-8BMSU73\Anaconda3\lib\site-packages\upcean\barcodes\shortcuts.py", line 29, in draw_barcode
      return create_barcode(bctype,upc,None,resize,hideinfo,barheight,textxy,barcolor);
    File "C:\Users\oo.DESKTOP-8BMSU73\Anaconda3\lib\site-packages\upcean\barcodes\shortcuts.py", line 24, in create_barcode
      return getattr(upcean.barcodes.barcode, "create_"+bctype+"_barcode")(upc,outfile,resize,hideinfo,barheight,textxy,barcolor);
    File "C:\Users\oo.DESKTOP-8BMSU73\Anaconda3\lib\site-packages\upcean\barcodes\codabar.py", line 38, in create_codabar_barcode
      pil_ver = Image.VERSION;
  AttributeError: module 'PIL.Image' has no attribute 'VERSION'
  </code></pre>