How to import python files in google colaboratory?

后端 未结 4 2014
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 15:33

I am trying to run my program on Google Colab; where my code make use of .py files written seprately.

In normal system I have all files inside one folder and it wor

4条回答
  •  余生分开走
    2021-01-02 16:16

    Now in googlecolab(Nov 18) you can upload your python files easily

    • Navigate to Files (Tab on your left panel)
    • Click on UPLOAD Upload your python folder or .py files
    • Use googlecolab book to access the file.

    Please check my screenshot below!

提交回复
热议问题