On Wed, Dec 9, 2009 at 10:19 AM, Martin Casey <[email protected]> wrote: > sorry if this seems like a simple question... i'm struggling a bit > with printing the contents of a (python) object (returned from the > data store) to the screen, just to see what's in it, much in the way > that you might "print_r" on an array in php. i've attempted to use > the pprint (pretty print) functions, which generally reveal some > details but not in a particularly readable fashion. may i ask what > other people use?
repl(some_python_object) will return a string of the python object in an instanceable format. You can: print repl(something) To get the python format of it. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
