Wednesday, 15 September 2010

How I can deserialize python pickles in C#? -



How I can deserialize python pickles in C#? -

i have python data, serialized pickles , need utilize in c# program. there way deserialize python pickles in c#? can't alter info format json or etc.

you can't alter programme generates pickle. certainly can write separate python programme read pickle , write out 1 time again json?

import json, pickle open("data.pickle", "rb") fpick: open("data.json", "w") fjson: json.dump(pickle.load(fpick), fjson)

c# python pickle

No comments:

Post a Comment