I see some api published for marshal module: http://www.python.org/dev/doc/maint24/api/marshalling-utils.html but per latest discussion on comp.lang.python people were suggesting to use pickle. If i pass the marshalled string to a machine running python on a machine with a different byte order, would it unmarshall correctly?