Scenario: I often work in 'pylab' mode of iPython for interactive data analysis. During these sessions I create many intermittent variables and sometimes I forget what I have called things, especially if an analyis session is running for several days (obviously with interruptions).
Now the problem is, that with the dir() command one sees all defined variables in this iPython session, but because it's a pylab session, many important numpy and matplotlib commands are in the global namespace and it's basically hopeless to find my own defined variables in this huge list.
Is there any way to filter this for 'imported' ones and created ones so that I can see only the variables that I have manually created during this session?