ElaphePython条形码开发包

联合创作 · 2023-09-30 13:17

Elaphe 是 Python 用来生成条形码的开发包。

示例代码:

  >>> from elaphe import barcode
  >>> barcode('qrcode',
  ...         'Hello Barcode Writer In Pure PostScript.',
  ...         options=dict(version=9, eclevel='M'),
  ...         margin=10, data_mode='8bits'))   # Generates PIL.EpsImageFile instance
  <PIL.EpsImagePlugin.EpsImageFile instance at ...>
  >>> _.show()            # Show the image

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报