This is a simple Python program that generates QR code as a PNG file from an input message and also decodes the same. It uses pyqrcode, pypng and pyzbar modules of Python.
The Python modules can be easily installed using pip.
pip install pyqrcode
pip install pypng
pip install pyzbar