On Fri, Jan 15, 2010 at 1:04 PM, Dhananjay Nene <dhananjay.n...@gmail.com>wrote:
> This seems to be an output of print_r of PHP. If you have a flexibility,
> to have the PHP code output the data into a language neutral format (eg
> json, yaml, xml etc.) and then parse it in python using the appropriate
> parser. If not you may have to write a custom parser. I did google to find
> if one existed, but couldn't easily locate one.
http://www.php.net/manual/en/book.json.php for PHP and Python2.6 onwards
has json part of the stdlib.
If you don't have access to the webserver, you might be able to use the php
interpreter on your own machine to parse this into something more language
BangPypers mailing list