What is a python equivalent of PHP's var_dump()
Posted
by Zoredache
on Stack Overflow
See other posts from Stack Overflow
or by Zoredache
Published on 2008-12-21T00:43:36Z
Indexed on
2010/03/14
18:45 UTC
Read the original article
Hit count: 404
When debugging in PHP I frequently find it useful to simply stick a var_dump($foo, $bar, ...) in my code to show me the the what a variable is, what is value is, and the same for anything that it contains.
What is a good python equivalent for this?
I have seen several things in my Google searching that are somewhat equivalent, but nothing that is the same or better.
© Stack Overflow or respective owner