Managing variables in IPython
After working in IPython for a while, sometimes you’d like to use a variable you created way back at the beginning, but you don’t remember exactly what it was called. Here are some useful commands for working with variables in IPython.
| who | show contents of workspace |
| who int | show integers in workspace |
| whos | show details of workspace contents |
| whos int | show details of integers in workspace |
| psearch msg* | search for objects in the workspace starting with msg |
| psearch msg* int | restrict search to just integers |
| reset | delete all variables from workspace |