Click here to Skip to main content
12,998,759 members (69,700 online)
Rate this:
Please Sign up or sign in to vote.
See more:
There is any library that support 2d-barcode image generator in python ?? i need any help to generate a 2d-barcode (QR-code) ??
Posted 29-Dec-11 9:42am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Perhaps this[^] would help.
danger man 2011 29-Dec-11 16:18pm
Thanks , but there is a question , the file is GZ file how i can execution to use in python ??
Mika Wendelius 29-Dec-11 16:24pm
You can uncompress the package using[^]
danger man 2011 29-Dec-11 16:31pm
should i install JCC, a Java Development Kit , Java Runtime Environmen, GNU make, Python Imaging Library and Python setuptools ??
danger man 2011 29-Dec-11 16:42pm
i uncompress the package but python can't see it , there is problem in package also can't run , the package doesn't work
Mika Wendelius 29-Dec-11 16:44pm
Based on the instructions, that's only needed if you're planning to compile it from the source code. If you use the binary download, then the instructions are:

Installing python eggs is pretty simple. All you need is the Python setuptools which is already built in on Mac OS X and available as optional package for Debian GNU/Linux and Ubuntu Linux operating systems.
$ sudo apt-get install python-setuptools

The only issue with the binary distribution is that you must use the same version of Java that was used to build the python extension.

Here’s what we used to build our binary packages for python 2.5:
• Mac OS X 10.5.5: native apple java 1.5
• Debian GNU/Linux and Ubuntu Linux: sun java 1.6

In order to install the python egg, type the following:
$ sudo easy_install qrcode-0.2.1-py2.5-platform.egg
Mika Wendelius 29-Dec-11 16:46pm
That's a shame. It looks like a good library but if it doesn't work...
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

download this package
then import it in your program then call it by this code :

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 28 Feb 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100