Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to directly upload a Jupyter notebook from Local Machine onto Google Collab? Is there a way to do this?

Currently I have the Jupyter notebook on my local machine. It will be helpful if I could directly export it to Google Collab rather than copy pasting it?

like image 626
Hahmed Avatar asked Feb 18 '18 08:02

Hahmed


People also ask

Can I upload Jupyter notebook to Google Colab?

Jupyter is the open source project on which Colab is based. Colab allows you to use and share Jupyter notebooks with others without having to download, install, or run anything.

How do I upload local data to Colab?

2) From a local drive It will prompt you to select a file. Click on “Choose Files” then select and upload the file. Wait for the file to be 100% uploaded. You should see the name of the file once Colab has uploaded it.


1 Answers

For me, I go to https://drive.google.com

Then upload the notebook file to folder 'Colab Notebooks', then open it from there.

Another, simpler way, is the go to the menu in Colab

  • File > Upload notebook...
  • Select the notebook file to upload

Now (nov 2018) another simpler way is to click open the left pane. Click File tab, then click upload.

like image 108
korakot Avatar answered Oct 03 '22 19:10

korakot