php and python: how to unpickle using PHP?
Ted Zeng
zeng at adobe.com
Thu Oct 12 20:11:21 EDT 2006
Thanks for everyone who replied my question.
I could not access to the messages from this list
Until today.
I will look up the solutions you guys suggested.
Ted zeng
-----Original Message-----
From: python-list-bounces+zeng=adobe.com at python.org
[mailto:python-list-bounces+zeng=adobe.com at python.org] On Behalf Of Tim
Arnold
Sent: Tuesday, October 03, 2006 8:07 AM
To: python-list at python.org
Subject: Re: php and python: how to unpickle using PHP?
<bearophileHUGS at lycos.com> wrote in message
news:1159825509.493262.11490 at h48g2000cwc.googlegroups.com...
> Ted Zeng:
>> I store some test results into a database after I use python
>> To pickle them (say, misfiles=['file1','file2'])
>> Now I want to display the result on a web page which uses PHP.
>> How could the web page unpickle the results and display them?
>> Is there a PHP routine that can do unpickle ?
>
> Instead of pickling, maybe you can save the data from python in json
> format:
> http://www.json.org/
> Then you can read it from PHP.
wddx format is a workable solution as well
http://pyxml.sourceforge.net/
plus
http://us2.php.net/wddx
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list