- Install the required library
pip install pycrypto
- run
python code.py
You can also test it directly here: https://colab.research.google.com/drive/1Onh4ad1spJfr6ifo0uJ0gs0U5zb10Hoa
Note: if copy pasting from here to google codelab then do make sure to add !pip install pycrypto
before imports