I want to save variables and outputs in text file with colab!
Any bright idea?
I want to save variables and outputs in text file with colab!
Any bright idea?
Save your content in the current directory and execute !dir to see the content. Then follow the following code snippet:
from google.colab import files
files.download('your typical text file or what ever.txt')
For more information take a look at here.
np.saveandnp.loadtxtfor storing and loading numpy matrices. – Green Falcon Nov 19 '18 at 11:05np.array. – Green Falcon Nov 19 '18 at 11:22