How to edit and save text files (.py) in Google Colab?

后端 未结 11 1866
[愿得一人]
[愿得一人] 2020-12-24 01:16

I cloned a github repo using !git clone https://github.com/llSourcell/Pokemon_GAN.git. I wanted to modify a .py file inside Colab. So i used %load fil

11条回答
  •  离开以前
    2020-12-24 01:58

    Not a perfect solution but can be useful for someone.

    You can use !cat file_name.py to access file_name.py contents, copy the contents in the next cell and now you can run it or edit it.

提交回复
热议问题