how to download a xlsx file from google colab

Solutions on MaxInterview for how to download a xlsx file from google colab by the best coders in the world

showing results for - "how to download a xlsx file from google colab"
Lia
04 Jul 2019
1from google.colab import files
2import pandas as pd
3result.to_csv('example_file.csv')
4files.download('example_file.csv')
Javier
26 Sep 2017
1from google.colab import files
2
3with open('example.txt', 'w') as f:
4  f.write('some content')
5
6files.download('example.txt')