from google.colab import file_upload code example Example: google colab upload a file from google.colab import files files.upload()