NameError: name httplib2shim is not defined
This error occurs because you are trying to use module httplib2shim, without importing it first.
To import the module, insert the following code line at the beginning of the program:
import httplib2shim
To import the module inside Google Colab, Kaggle/Jupyter Notebook or ipython environment, execute specified code line/cell before usage of the module, and retry afterwards.
Well, what's next?
Here you may find python documentation regarding imports
Also, python has style guide for coding, with a chapter about import statements - you should follow it in order to write good and readable code.
You have already made 2 right things: practicing python and googling error output. Those 2 kinds of actions define a developer. Repeat them long enough, and success is inevitable. Consider subscribing to our DEV blog - it definitely will help to learn python coding and best practices