In Ipython If you just type local() you get a pretty printed out without a need for an explicit pprint call.
Secondly, Ipython works only for 2.4-5-6 as of now. Here what the documentation says: "We have not begun to test IPython on Python 2.6 or 3.0, but we expect it will work with some minor changes." Gökhan On Tue, Jun 2, 2009 at 12:47 PM, Emile van Sebille <em...@fenx.com> wrote: > 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 >> > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor >
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor