[PYTHON] Google colaboratory

Gmail, Google Drive, Google keep, Google Docs ..

Google offers a free and convenient service,

As a companion, there is a service called colaboratory.

Free with the cloud version of Jupiter Notebook You can run python.

Personally, I think it's a very interesting service

It's been about two months since I started using it. I posted it with the hope that I could share what I was able to improve.

★ Program execution -Every time you add a code, press the + button to add a line to enter. -Press an icon like the YouTube play button.

Compared to executing a shell command with Tera Term I thought it was a hassle because it hindered my thinking subtly.

Shift + Enter will automatically add the program execution and the following command input line. It's definitely easier.

★ OS command Most OS commands can be executed by prefixing them with!

Example) !pwd !pip install ** !apt-get install **

For some reason! The command does not work well with cd With% cd, it worked fine.

★editor You cannot edit the file with vi.

It's a little inconvenient, but you can overwrite the file with the %% writefile command.

Command! cat file1 Result abc

Command %% writefile file1 abcd No result

Command! cat file1 Result abcd

There are some inconveniences, but while reading a python book Check the operation of python (pandas, matplotlib, seaborn), It's more than enough for practicing python code.

Recommended Posts

Google colaboratory
Google Colaboratory setup summary
Is it Google Colaboratory?
Use music21 on Google Colaboratory
Try StyleGAN on Google Colaboratory
Study Python with Google Colaboratory
Try OpenCV with Google Colaboratory
Tool organization: Google Colaboratory (updated 2020.2.24)
Pandas 100 knocks on Google Colaboratory
How to use Google Colaboratory
■ [Google Colaboratory] Use morphological analysis (janome)
■ [Google Colaboratory] Use morphological analysis (MeCab)
Snippets (scraping) registered in Google Colaboratory
OpenCV feature detection with Google Colaboratory
100 language processing knock 2020 "for Google Colaboratory"
Run Keras on Google Colaboratory TPU
Use The Metabolic Disassembler on Google Colaboratory
[Beginner] Python web scraping using Google Colaboratory
Usual processing notes when using Google Colaboratory
How to search Google Drive with Google Colaboratory
Make a cascade classifier with google colaboratory
Use cartopy without bugs in Google Colaboratory
Manage deals with Trello + Google Colaboratory (Part 1)
First-principles calculations for free using Google Colaboratory
Using Java's Jupyter Kernel with Google Colaboratory
Use TPU and Keras with Google Colaboratory
Free Python runtime environment Google Colaboratory memo
Download files directly to Google Drive (using Google Colaboratory)
Download the csv file created by Google Colaboratory
Google Colaboratory 90-minute session disconnection countermeasures --- Use Python! ---
Download data directly from Drive URL (Google Colaboratory)
I tried simple image processing with Google Colaboratory.
Cheat sheet when scraping with Google Colaboratory (Colab)
Snippets registered in Google Colaboratory (PDF text conversion)
How to load files in Google Drive with Google Colaboratory
End-to-End single channel sound source separation with Google Colaboratory
How to analyze with Google Colaboratory using Kaggle API
Easy learning of 100 language processing knock 2020 with "Google Colaboratory"
Let's easily make a math gif using Google Colaboratory
How to use Spacy Japanese model in Google Colaboratory
I can't use the darknet command in Google Colaboratory!
Building an environment to use CaboCha with google colaboratory