This is very similar to this question but it hasn't been answered.
I launched a Jupyter server from PyCharm. I created a screenshot, and copy and pasted it into a Jupyter Notebook. The image wasn't otherwise saved. In Jupyter Notebook, the image appears like this: ![image.png](attachment:image.png)
and I can see the image on the Jupyter server, but I can't see the image in the notebook file in PyCharm. I can't find where the image.png
file is stored. I looked through the folder that the notebook is in, and I used the file explorer to check if the image is anywhere on my computer.
Does Jupyter Notebook store the copy-pasted image as a file? and if yes, where?
CodePudding user response:
This answer here fills in some information on what is going on.
When you pasted it into the markdown cell, it got encoded as an attachment in base64 in the cell information for that cell.
If you view the underlying code for the notebook in a text editor you should see encoded data. (You may wish to make a test notebook, separate from the one you care about, and add an image to test that after you save the edited new notebook.)
And so there is no separate saved file.