[Tutor] python workspace

Lie Ryan lie.1296 at gmail.com
Tue Jun 2 18:48:50 CEST 2009

roberto wrote:
> hello,
> i'd like to ask if there is anything in python which helps to see what
> variables have been defined and their type and their dimension etc;
> if any of you has ever used Matlab, i mean something really similar to
> its workspace, where all the user created variables are stored and
> constantly updated
> thank you

You can use pdb (python debugger) module; and if you're using IDLE the
Debugger Window will keep track and show variables. Personally, I
usually simply sprawl print here and there.

More information about the Tutor mailing list