from google.colab import drive drive.mount('/content') code example Example: google colab upload a file from google.colab import files files.upload()