超簡単なpythonはQRコードのピクチャーを生成します


まずqrcodeモジュールをインストールして、それからコードは以下のように欧になって、簡単で乱暴ですね.
# -*- coding: utf-8-*-
import qrcode
char = raw_input('please input string: ').decode('gbk')
img = qrcode.make(char)
img.save('test.png')
img.show()