Sanxiago and other Daemons Software development, system administration and other daemons

Python object dump

Posted on September 26, 2010

When working with objects and arrays there are times you need to debug a certain object or array and list all its contents.
Most languages provide a functionality to do so, in the case of Perl you have Data::Dumper and in PHP you have print_r

I was looking for something like that and found:

Recipe

I truly recommend it.
It can be easily added as an extra module.

About sanxiago

I am Santiago Velasco a software engineer and this blog is a small collection of things I have done. I have bachelor's degree in electronic engineering and I have worked with a wide range of languages and systems. From soldering bit by bit to high level languages like Java, Perl, Python and ansi C.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.