Blog Archive

Showing posts with label colab. Show all posts
Showing posts with label colab. Show all posts

Sunday, October 4, 2020

Easiest Way to Start Python Coding

 

How to Get Started With Python using Google Colab?

In this blog, we will learn to use Google colab web editor and run code on a cloud platform. Once done with it, we'll write our first Python program using Colab.


Introduction 


Jupyter Editor :

The Jupyter Notebook is an open-source editor application that permits us to make and share the code as well as documents. It contains live code, conditions, perceptions and text. It utilizations include data preprocessing (like data cleaning, data combining, data noise reduction, etc ), numerical manipulation, mathematical simulation, factual displaying, information representation, AI, and significantly more.


Google colab : 

Google colab is similar to Jupyter Notebook. We can say" Colab is a Jupyter Notebook stored on google drive". We find the same structure and look of code editor consisting code and text cells as in Python. The benefit here is the cloud space and the speed due to the allocated server RAM. Basically, it reduces the struggling of execution delay while dealing with a large dataset or a larger number of epochs which makes use of colab best while working with the Machine Learning, Deep Learning and other AI domains.

Alright so let's get started...

Step 1: You should have a Gmail account.

Step 2: Search "colab" in google search engine.

Step 3: Colaboratory or " colab" window will appear.



Step 4: Then Go to the file and open a new notebook window.




Step 5: New Untitled window will appear.




Now we can start writing our first python coding on colab editor.

Type below-mentioned code on the editor :

print (" My first Python Code in Colab") 

then press left side arrow button  and run the code.




Congratulations! We just wrote our first Python program in Colab editor.

See how simple it is... 

This is the magnificence of Python programming language.