I am going through some excercises in a Python book I have to learn python. One of them shows that simply using the variable name as an instruction will print out the contents of that variable. However I have tried this using PyDev and it does not work. Is it supposed to and does it matter?
Humm... that'll only work if you're running from within the interactive interpreter (if you're running a python module, you have to actually make a 'print variable')
Pydev will have an interactive interpreter on the next release (see http://pydev.blogspot.com/2008/03/interactive-console-in-pydev.html ). Currently you can also have it in a pretty basic form: http://pydev.sourceforge.net/faq.html#how_do_i_configure_a_python_shell_for_experimentin