Marshalling big objects

2007-07-14 Thread Orlando Döhring
Dear community, I want to marshal objects: - http://docs.python.org/lib/module-marshal.html where I have problems with a bigger objects, e.g. self.contiguousSurfaceResidues, see below. I was writing the object to file: fDump1 = open('dump_13PK_C.dat','wb') marshal.dump(self.contiguous

[B,IX] = sort(A,...) - Order for sort()-function

2007-05-29 Thread Orlando Döhring
Dear community, I want to use the sort function to sort a (nested) list. General information can be found below. http://www.python.org/doc/2.4.2/lib/typesseq-mutable.html http://wiki.python.org/moin/HowTo/Sorting http://www.python.org/doc/2.4.4/whatsnew/node12.html I want to solve the following

[B,IX] = sort(A,...) - Order for sort()-function

2007-05-29 Thread Orlando Döhring
Dear community, I want to use the sort function to sort a (nested) list. General information can be found below. http://www.python.org/doc/2.4.2/lib/typesseq-mutable.html http://wiki.python.org/moin/HowTo/Sorting http://www.python.org/doc/2.4.4/whatsnew/node12.html I want to solve the follow