[Tutor] python workspace
Emile van Sebille
emile at fenx.com
Tue Jun 2 19:47:38 CEST 2009
On 6/2/2009 8:54 AM roberto said...
> 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;
In appropriate contexts, you may be able to use a variant of:
from pprint import pprint
pprint (locals())
HTH,
Emile
>
> 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
More information about the Tutor
mailing list