[ML/DL study note] 1-2 DevEnv(CoLab, Jupyter Notebook)

Study Source 혼자 공부하는 머신러닝/딥러닝 Chaper 01-1
Study Date 2021/10/31

Google CoLab & Jupyter Notebook

Let' access to colab.research.google.com.

You must have a google account.

As you can see here, you can easily add code and it's comment in cell.

Like notion.so, it is easy to use and edit. One more important thing is that you can execute codes in cell right away.

If you double click a cell, you can easily edit a cell.

You can mix up Markdown, HTML, and Editer Menu.

sec_in_a_day = 24 * 60 * 60
sec_in_a_day

Input this code to new code cell, than press [Shift + Enter] [Cmd + Enter] .... Key could be diffrent case by base.

You may can see the result: 86400


Now it's time for Jupyter Notebook.

CoLab uses Virtual Machine in Google Cloud.

You can see specific informations when you over the mouse pointer on the RAM/Disk icon.

Let's make our Jnotebooks.

Before start, please remeber that you can only execute 5 Jnotebooks at the same time.

If you already have 5 CoLab Notebooks, you can just close it from your browser. Easy, isn't it?


1. Create a new notebook. It maybe named as "Untitled[Num].ipynb". Change this name as 00_HelloWorld.

2. Put this code in your cell. Process it.

print('Hello World')

3. It will automatically saved in [My Drive] - [Colab Notebooks] at Google Drive.

I think these things were so easy!




Well, it must be finished here.


Hope to see you again in next post!👏


If you enjoyed or found some errors here,
just contact me in comment, 42 network Slack - kkim, or kwanho0096@gmail.com.