Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Python to Perl

Name: Anonymous 2007-08-14 11:35 ID:rqcBW7qt

I've a python pickle file containing python objects. Are there any tools out there which will allow me to read the python objects into Perl objects?

in b4 write it in lisp etc; this is a real world problem requiring some out-of-the-box solutions. Mind you, I'm also assuming that there are real programmers (C) on this board. Prove me wrong, /prog/!!!

Name: Anonymous 2007-08-14 11:41 ID:Heaven

READ SICP.

fuck you, we don't need to prove you wrong, YOU ARE WRONG.

Okay, but i'll try to be helpful.
Explain your problem. Your problem is not that you don't have a tool that reads python objects into perl objects (?) but something else that YOU think you can solve with that tool.
So; elaborate your problem and we will help. else gtfo.

Name: Anonymous 2007-08-14 12:16 ID:Heaven

Python::Serialise::Pickle

Name: Anonymous 2007-08-14 15:36 ID:rqcBW7qt

A Perl script reads an XML file and does stuff based on the XML. I want to get rid of the XML and replace it with a Python pickled object. Once all the XML stuff is out of the way, replacing the Perl wrapper with python will be a lot easier.

Python::Serialise::Pickle

looks like it does the job nicely. Thankyou. Well, that's if it's bug-free *grins*

As for reading SCIP, I've managed 20 years in this industry without touching it so I figure I'll manage a few years more, thanks.


Name: ​​​​​​​​​​ 2010-10-23 22:11

Name: Anonymous 2011-03-31 12:13

I am the phantom autist

Name: Anonymous 2011-03-31 12:13

I am the phantom autist

Name: Anonymous 2013-09-24 2:39

I am the phantom autist

Name: Anonymous 2013-09-24 2:39

I am the phantom autist

Name: Anonymous 2013-09-24 8:25

What the fuck is a pickle file?

Name: Anonymous 2013-09-24 11:39

                        ██████████████████████                                                                           
      ██████████████████                      ████            ██████████████    ████    ██    ██  ██████    ████    ██    ██
    ██                      ██                    ████  ████████████████████  ██    ██  ██    ██  ██      ██    ██  ██  ██
    ██                  ████            ██            ████    ██████████████  ██        ████████  ████    ██        ████ 
      ██████████████████          ██████                ██    ██████████████  ██    ██  ██    ██  ██      ██    ██  ██  ██
                    ██        ████    ██                ██    ██████████████    ████    ██    ██  ██████    ████    ██    ██
                    ██████████        ██                ██    ██████████████                                             
                      ██          ████  ██              ██    ██████████████  ██████████  ██    ██  ██████  ██      ██   
                        ██████████      ██              ██    ██████████████      ██      ██    ██  ██      ████  ████   
                          ██        ████  ██            ██    ██████████████      ██      ████████  ████    ██  ██  ██   
                            ████████      ██            ██    ██████████████      ██      ██    ██  ██      ██      ██   
                            ██        ████              ██    ██████████████      ██      ██    ██  ██████  ██      ██   
                              ████████            ████████    ██████████████                                             
                                      ████████████      ████████████████████                                             
                                                              ██████████████

Don't change these.
Name: Email:
Entire Thread Thread List