The best Python equivalent of PHP's var_dump() is to combine print with vars:
print vars(foo),vars(bar)
Another important method if you want to display the value nicely, you can use the pprint module. The easiest way to dump all variables with it.
from pprint import pprint
pprint(globals())
pprint(locals())