Is there a way to get PHP-like print_r(object)
funcionality in iPython?
I know I can use '?' to get info about an object, but how do I view the values of the object?
Is there a way to get PHP-like print_r(object)
funcionality in iPython?
I know I can use '?' to get info about an object, but how do I view the values of the object?
Is
print my_object.__dict__
perhaps what you are looking for?
Or have a look at the standard python pretty printer for more advanced, recursive printing.