RE: php and python: how to unpickle using PHP?

Discussion in 'Python' started by Ted Zeng, Oct 13, 2006.

  1. Ted Zeng

    Ted Zeng Guest

    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=
    [mailto:python-list-bounces+zeng=] On Behalf Of Tim
    Arnold
    Sent: Tuesday, October 03, 2006 8:07 AM
    To:
    Subject: Re: php and python: how to unpickle using PHP?


    <> wrote in message
    news:...
    > 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
     
    Ted Zeng, Oct 13, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Yun Mao

    secure unpickle?

    Yun Mao, Jan 19, 2004, in forum: Python
    Replies:
    7
    Views:
    360
    Michael Hudson
    Jan 20, 2004
  2. Tim Peters

    RE: secure unpickle?

    Tim Peters, Jan 19, 2004, in forum: Python
    Replies:
    0
    Views:
    436
    Tim Peters
    Jan 19, 2004
  3. sosman

    unpickle error

    sosman, Jun 28, 2004, in forum: Python
    Replies:
    2
    Views:
    667
    sosman
    Jun 29, 2004
  4. Ted Zeng
    Replies:
    4
    Views:
    515
    Tim Arnold
    Oct 3, 2006
  5. Rajive Narain
    Replies:
    0
    Views:
    1,896
    Rajive Narain
    Sep 18, 2009
Loading...

Share This Page