Sign inGet started
← Back to all guides

How to work with Google Drive in Juptyer

By Nick Barth

Updated on March 6, 2024

Working with Google Drive in Jupyter and Deepnote can greatly enhance your data science workflow by enabling easy access to your datasets and notebooks. To get started, mount your Google Drive using the Google Colab integration in Jupyter:

  1. Import the `drive` module from Google Colab.


from google.colab import drive


  1. Mount your Google Drive to the Colab environment.




  1. Access files by navigating to the `/content/drive/My Drive/` directory in your notebook.

For Deepnote, you can directly integrate Google Drive:

  1. Go to your Deepnote project and click 'Integrations' on the left sidebar.
  2. Find Google Drive in the list of available integrations and click 'Connect'.
  3. Follow the prompts to authorize Deepnote to access your Google Drive.

Once connected, your Google Drive will appear as a folder in the Deepnote file sidebar, allowing you to easily interact with your files.

That’s it, time to try Deepnote

Get started – it’s free
Book a demo



  • Integrations
  • Pricing
  • Documentation
  • Changelog
  • Security




  • Privacy
  • Terms

© Deepnote