How to import and export Sav files from Python scripts

Hello, I have a question about exporting and importing data from Python scripts in version 4.7.1.

As far as PythonScript is concerned, only data frames, images, and pickle objects can be released as output ports.

Currently, files such as “.Sav” need to be exported from the python script node to the output port, so how do I export them? (“.Sav” is a file that has information from label encoder, not a spss file.)

However, it is not possible to export data to python code because it has to be sent to a specific folder on the server.

And, Is there a way to read the sav file after exporting it? (I tested it with file reader node, but I couldn’t get it.)

I’d appreciate it if you could give me an answer.

@JaeHwanChoi question is what kind of data ok s this and what do you want to do with it.

You can always use Pickle and absolute paths in Python.

1 Like