Click here to Skip to main content
15,884,970 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

Perhaps this[^] would help.
 
Share this answer
 
Comments
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 ??
Wendelius 29-Dec-11 16:24pm    
You can uncompress the package using http://www.gzip.org/[^]
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 ??
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
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
download this package http://www.mediafire.com/?koht7wk3adp5g4v
then import it in your program then call it by this code :
qr.run_example(data)
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900