google colab code to upload file from google drive code example
Example 1: how to save files directly in google drive in google colab
!ls /content/gdrive/My Drive
Example 2: google colab upload a file
from google.colab import files
files.upload()