The code works in my system that uses python3 with all python packages
installed from the official repos in archlinux. I had to make some changes (
https://stackoverflow.com/questions/6541767/python-urllib-error-attributeerror-bytes-object-has-no-attribute-read
).
Regards
Jagannathan T E