Computers

Create New Colab Notebook

Create New Colab Notebook

This tutorial will teach us to create a new Colab Notebook using Google Colab. Google Colab is a hosted Jupyter Notebook service that requires no setup and provides free access to computing resources, including GPUs and TPUs.

Navigate to Google Colab. Open your web browser and go to Google Colab.

  • https://colab.research.google.com/

Sign in with a Google Account. Sign in if you’re not already signed in with your Google account.

Create a New Notebook. Once signed in, go to the File menu and select New notebook.

File -> New notebook

 

create new colab notebook

 

 

This will launch a new blank notebook in a separate browser tab.

Give a Name to your Notebook. Click on the “Untitled.ipynb” at the top of the notebook, and provide the name of your notebook.

 

Blank Colab Notebook

 

Start Coding

We’ll see a code cell where you can start writing your Python code or generate Python code using Generate AI techniques. We can add new code cells using the “+ Code” button or pressing Ctrl + M and then B( Ctrl + M B)  for a new code cell. We can also use the “+ Text” button for a new text cell.

Save the Work.
The work is saved automatically to your Google Drive. However, you can also save a copy to your local machine. We can use the following menu option to explicitly save a copy in Google Drive.

File -> Save a copy in Drive

We’re ready to use Google Colab for your coding and analysis. Remember that any code you write in the notebook is executed on Google’s servers, and you can take advantage of their GPU and TPU resources for machine learning tasks.

—

Python Tutorials

Python Tutorial on this website can be found at:

https://www.testingdocs.com/python-tutorials/

More information on Python is available at the official website:

  • https://www.python.org