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!