In spyder I often look back for code I wrote in the past, via the command :
%hist -g print
if I want to see my print statements.
But recently most of my history disappeared and I only have access to codes I wrote in the last days.
I would like to manually access the history log, and have seen from multiple sources that it should be stored in a file 'history.py'. (e.g How to see the console history of all commands in the IPython console in Spyder).
I've gone through all the 'history.py' files I have and at most they define a class History but don't contain the actual codelines that I wrote in the past.
So my question is : Which file contains the history itself and how do I access it ?