php and python: how to unpickle using PHP?

bearophileHUGS at bearophileHUGS at
Mon Oct 2 23:45:09 CEST 2006

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
Then you can read it from PHP.


More information about the Python-list mailing list