Python条形码开发包 Elaphe

jopen 12年前
     Elaphe是Barcode Writer In Pure PostScript (    <a href="/misc/goto?guid=4959499898484949888" rel="nofollow">http://www.terryburton.co.uk/barcodewriter/</a>)的一个Python绑定。以下是一个简单的示例:    <br />    <pre class="brush:python; toolbar: true; auto-links: false;">  >>> 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</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324822486671" target="_blank">http://www.open-open.com/lib/view/home/1324822486671</a></p>