i want to create a file exactly like pickled file using C program in Qt without using python.
this file will be read by python (unpickled ) to initialize some properties. Or Is there any way one can know the exact syntax of pickled file n then write it using programming ?
can anybody please help?

9 Years
Discussion Span
Last Post by sameer123

Python is open source and written in C, so in principle you should be able to extract pickling functions from the source code of python itself.

It's most certainly a useless task to try to write another C function for this.

Another way to hide things is to use an embedded python interpreter in your C program, and use it to call the methods of the Pickle module :)


U R Right.
I think i should use pickling functions in python.
Thanks a lot.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.