Check out example codes for "how to save files directly in google drive in google colab". It will help you in understanding the concepts better.

Code Example 1

!ls /content/gdrive/My Drive

Learn ReactJs, React Native from akashmittal.com