php and python: how to unpickle using PHP?

Tim Arnold tiarno at
Tue Oct 3 17:07:22 CEST 2006

<bearophileHUGS at> wrote in message 
news:1159825509.493262.11490 at
> 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:
> Then you can read it from PHP.

wddx format is a workable solution as well

More information about the Python-list mailing list