If you aren't running the notebook and just need the file from your storage, use the standard Google Drive Download process :

Click File > Download > Download .ipynb . This saves the file in the standard format used by Jupyter Notebook and other data science tools.

If you currently have the notebook open in your browser, the internal file menu provides the most direct export options:

Click File > Download > Download .py to export only the executable code, stripping away text cells and metadata.

For sharing reports, click File > Print and select Save as PDF from your browser's print destinations. 2. Download Directly from Google Drive

To download a Google Drive notebook—most commonly a Google Colaboratory (.ipynb) file—you can use several methods depending on whether you are working within the Colab editor or directly from the Google Drive interface.