Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: QT Python2.7
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 10:42am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Perhaps this[^] would help.
  Permalink  
Comments
danger man 2011 at 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 at 29-Dec-11 16:24pm
   
You can uncompress the package using http://www.gzip.org/[^]
danger man 2011 at 29-Dec-11 16:31pm
   
should i install JCC, a Java Development Kit , Java Runtime Environmen, GNU make, Python Imaging Library and Python setuptools ??
Mika Wendelius at 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 at 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 at 29-Dec-11 16:46pm
   
That's a shame. It looks like a good library but if it doesn't work...
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

download this package http://www.mediafire.com/?koht7wk3adp5g4v
then import it in your program then call it by this code :
qr.run_example(data)
  Permalink  

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

  Print Answers RSS
0 Marcin Kozub 275
1 OriginalGriff 264
2 Sergey Alexandrovich Kryukov 215
3 Praneet Nadkar 197
4 Richard MacCutchan 182
0 OriginalGriff 8,048
1 Sergey Alexandrovich Kryukov 7,287
2 DamithSL 5,614
3 Manas Bhardwaj 4,986
4 Maciej Los 4,910


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 28 Feb 2012
Copyright © CodeProject, 1999-2014
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