
cstanhope@social.coop ("Your friendly 'net denizen") wrote:
I'm using Jupyter notebooks after years away, and yesterday I accidentally deleted a bunch of cells. I thought I undid the disaster, but today I discovered I was still missing a cell. One that contained an important function. Luckily the kernel was still running from yesterday, so I used the Python inspect module to retrieve the source code. Phew! 😅