Download all files in a path on Jupyter notebook server

前端 未结 7 756
日久生厌
日久生厌 2021-01-29 18:46

As a user in a class that runs Jupyter notebooks for assignments, I have access to the assignments via the web interface. I assume the assignments are stored somewhere in my per

7条回答
  •  不要未来只要你来
    2021-01-29 19:05

    from google.colab import files
    
    files.download("/content/data.txt")
    

    These lines might work if you are working in a google colab or Jupyter notebook.

    The first line imports the library files The second one, downloads your created file, example:"data.txt" (your file name) located in the content.

提交回复
热议问题