> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-4/repo-sync-project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/notebook-page/preview-a-file.md).

# Preview a File

Notebook page can be opened, and code & markdown cells can be previewed without activating the respective project.

{% hint style="success" %}
*Check out the given illustration to understand how you can preview the content available under the .ipynb files.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F3Mx9xMdRRNrpZK1JdWkj%2FPreview%20ipynb%20file.mp4?alt=media&token=67f81eec-66a1-43f8-8ea6-7597d4518dc2>" %}
***Preview Saved Notebooks***
{% endembed %}

The user can preview a Notebook without activating the Project where the Notebook is saved.&#x20;

* Navigate to the Project List page.
* Select a deactivated Repo Sync Project from the list.
* Click on the Project to open it.  &#x20;

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FUnvKN0L9Yyc0Qo8p2UnM%2Fimage.png?alt=media&amp;token=03d0eafd-ed1f-4b2d-b1b2-1f8dc98184af" alt=""><figcaption><p><em><strong>Opening a Deactivated Repo Sync Project</strong></em> </p></figcaption></figure>

* The ***Notebook*** tab opens under the selected Repo Sync Project.
* Click on the ***Repo*** folder that gets displayed under the Notebook tab.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FxLHBO1I9MVhIU1tUwPlp%2Fimage.png?alt=media&amp;token=7abb6dac-44bb-4557-954d-52a85096355b" alt=""><figcaption><p><em><strong>Accessing Repo folder from the Notebook tab</strong></em></p></figcaption></figure>

* A list of available folders and files appears under the Repo.
* Click on a file.
* The file content gets displayed.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FsLw18JkhpFGked54Gobc%2Fimage.png?alt=media&amp;token=6f158a47-7a22-427a-b239-801d456d16fb" alt=""><figcaption><p>.ipynb file content </p></figcaption></figure>

* Open a .ipynb file.
* &#x20;The ***Activate Project*** window opens prompting the user to activate the selected Project.
* Click the ***No*** option from the confirmation window.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F8BOkhf7HlXM8XUnGW9kF%2Fimage.png?alt=media&amp;token=3e580a2b-ce5c-453a-b480-de4394602b83" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *Other functionalities will be disabled in the preview mode of any .ipynb file.*
* *The confirmation dialog box appears (by default) to **Activate** the Project of which the .ipynb file is a part by clicking the **Yes** option for activating the Project, the user gets all the related operations enabled to modify the content.*

&#x20;     ![](https://content.gitbook.com/content/1QeOywZjV1cHo55cMW8u/blobs/K4hvn1wQmlQvTzYHN1Ch/image.png)

* *Refer the* [***Data Science Lab Quick Start Flow***](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow) *page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
  {% endhint %}
