'google.colab.files.download' to specific location/directory in PC

Viewed 626

I know that in Colab, using

 from google.colab import files
 files.download('sample.txt')

downloads the target file into your local /Downloads directory, but I couldn't find much documentation about how to customize the download directory? or is there an alternative library I can use in Colab?

Many Thanks!

0 Answers
Related