This question already has an answer here:
Enumerate or list all variables in a program of [your favorite language here] [closed]
I'm currently working on a computation in python shell. What I want to have is Matlab style listout where you can see all the variables that have been defined up to a point (so I know which names I've used, their values and such).
Is there a way, and how can I do that?