[Quickie] Python - 'print_r ()' in Python
Hello all,
He was working on a script in Python and missed a function similar to print_r () PHP . I took an internet search and ended up finding a nice script and easy to install. The python-print_r
To access the script please http://wiki.github.com/marcbelmont/python-print_r/
Installing it is super simple, in my case that already has python-setuptools installed was super easy:
sudo easy_install print_r
But if you have any difficulty accessing the address that I teach her to do the manual installation of the script.
Here's an example of use:
I do not know if this is the best option if you have any tips best to only post!
Hugs!


![print_r print r 300x174 [Rapidinha] Python print r() no Python](http://marcelosabadini.com.br/blog/wp-content/uploads/2010/01/print_r-300x174.png)

3 Responses to "[Quickie] Python - 'print_r ()' in Python"
It sure is a great outlet for testing objects and arrays.
Very good hint, congratulations blog, continue posting as all posts are always very helpful.
Regards,
By Michael Mafort (7 comments) on 19/01/2010
Save Marcelo,
good tip x)
You can use a set of Python's introspection capabilities to debug, but its tip is simple and undergrowth, a debug so much faster.
Congratulations on the blog, I added the Google Reader
Hugs
By Francis Souza (3 comments) on 23/01/2010
Francis speaks!
I'm glad that he had signed his site in my Google Reader
By Marcelo Sabadini (109 comments) on 28/01/2010