Pickle (python stream) and free pascal lazarus / 62-General ---------------------------------------------------------------------- BlueIcaro · 2020-11-17 11:40 Hello, I'm working on program which receives and sends info using Zmq https://zeromq.org/. No problem in this point. But the program receives the information from a python program, the python program stream the info  the info using Pickle Code: [Select]#Python code  msg = pickle.dumps(obj, protocol) Is there any way to manage this data format in pascal? Thanks in advance /BlueIcaro ---------------------------------------------------------------------- marcov · 2020-11-17 11:50 Pickle seems to be a Python specific object format. https://docs.python.org/3/library/pickle.html https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages seem to only mention one foreign binding (based on a generator, maybe not practical?) for C++ A workaround could be embedding python 4 delphi, and loading it in the embedded python interpreter, and then trying to marshal it via python4delphi. But in general, I it would make sense to rewrite python to use a better supported fileformat ---------------------------------------------------------------------- BlueIcaro · 2020-11-17 12:09 Thanks Marcov, I think is more sense use a standard format, as you said. So, we'll use json structure to communique as thought in my first approach to the problem. But I was wondering if it could be used. It will be one less headache. Thanks /BlueIcaro