- 浏览: 9288 次
- 性别:
- 来自: 长沙
最新评论
文章列表
#-*- encoding: utf-8 -*-
from elaphe.datamatrix import DataMatrix
import os
import pygame
import sys
from pygame.locals import *
from PIL import Image,ImageDraw,ImageFont
reload(sys)
sys.setdefaultencoding("utf-8")
#1 生成DataMatrix的条码图片
bc = DataMatrix()
text = '068080835AD000D10701014111' ...
#-*- encoding: utf-8 -*-
from elaphe.pdf417 import Pdf417
import os
import pygame
import sys
from pygame.locals import *
from PIL import Image,ImageDraw,ImageFont
reload(sys)
sys.setdefaultencoding("utf-8")
#1 生成PDF147的条码图片
bc = Pdf417()
#print bc.render_ps_code('PDF417')
text = '06808083 ...
#-*- encoding: utf-8 -*-
import logging
import sys
import os
import pygame
from pygame.locals import *
from hubarcode.code128 import Code128Encoder
from PIL import Image,ImageDraw,ImageFont
#logging.getLogger("code128").setLevel(logging.DEBUG)
#logging.getLogger("code128").addHan ...