You will need module 'qrcode' and 'pillow'
So first
pip install qrcode
pip install pillow
And then put your activation keys in a text file
1231544352345
1421345314534
Name it code.text and put it with the script in a same folder.
run
python QRCodeDemo.py