[Chandrashekhar kaushik] > Can an object pickled and saved on a little-endian machine be unpickled > on a big-endian machine ?
Yes. The pickle format is platform-independent (native endianness doesn't matter, and neither do the native sizes of C's various integer types). > Does python handle this in some manner , by say having a flag to indicate > the endianess of the machine on which the object was pickled ? And then > using this flag to decide how that data will be unpickled ? Not a flag, no, the pickle format is the same on all platforms. If you need to know details, read pickle.py. -- http://mail.python.org/mailman/listinfo/python-list