A .py file is a standard Python script that contains only code in plain text format. An .ipynb file, however, is a Jupyter Notebook file that includes both code and its outputs, as well as markdown cells, charts, and metadata — making it ideal for documentation and collaboration.
IPYNB files stores the output of all executed cells, which may include large visualisations, data tables, or images. To reduce file size, you can use
Adobe Acrobat’s Compress PDF tool to reduce the PDF file size.
If you are exporting directly from Jupyter Notebook, the PDF will include rendered charts, tables, markdown cells, and outputs provided that all cells have been executed.
If you are converting the notebook using your browser’s Save as PDF option, the export will reflect only what is currently visible in the notebook view, including charts and outputs, displayed at the time of printing.
You can add
password protection, restrict editing, or apply access permissions to keep sensitive insights and internal reports secure with Adobe Acrobat.