Dark Fighter free for a limited time
 

Dark Fighter

Now FREE on the App Store!

 
Gravit universal binary released for Mac OS X
 

Gravit released for OS X

A free Gravity Simulator

 
TowerDefend is now $0.99!
 

Tower Defend - ON SALE

Price reduced to 0.99 USD!

 

Python Google Chart 0.2.1 released

I just released pygooglechart 0.2.1. It has several bug fixes and minor additions, but the major change is that it now supports QR codes. You can quite easily create a QR code with pygooglechart as you can see below.

from pygooglechart import QRChart

# Create a 125x125 QR code chart
chart = QRChart(125, 125)

# Add the text
chart.add_data('Hello, World!')

# "Level H" error correction with a 0 pixel margin
chart.set_ec('H', 0)

# Download
chart.download('qr-hello.png')

This will download a png from the URL:

http://chart.apis.google.com/chart?cht=qr&chs=125×125&chl=Hello%2C%20World%21&chld=H|0

The image downloaded looks like this:

QR codes are new to me. I’ve only seen a QR code on a bus stop advertisement once in Sydney but I’m sure more will pop up.

One Comment

  1. Sam says:

    If only you knew the lies and stupidity surrounding this. Ugh.

Leave a Comment