Re: FW: Python help group

2005-03-22 Thread Gabriel Cooper
I would recommend looking into sorting like objects with the __getitem__ method. http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/b2d0580792b94a7/a707054ec3302a6e has a lively discussion on this topic. Search google for "__getitem__" and "sort" for more information.

FW: FW: Python help group

2005-03-22 Thread Leeds, Mark
This is a follow up question To the previous question About sorting that I sent for my friend. -Original Message- From: Tan, Heap Ho Sent: Tuesday, March 22, 2005 2:06 PM To: Leeds, Mark Subject: RE: FW: Python help group How can you speed it? Does anyone know if

Re: FW: Python help group

2005-03-22 Thread Swaroop C H
On Tue, 22 Mar 2005 13:15:15 -0500, Leeds, Mark wrote: > I want to do a sort on a list of objects based on a similar attributes in > each object for example time of creation of this object. >>> >>> class Student: ... def __init__(self, name, age): ... self

FW: Python help group

2005-03-22 Thread Leeds, Mark
Can someone help me with below  ? It’s not my question but I will forward any answers to my friend who I am sending this for.   Mark       -Original Message- From: Tan, Heap Ho Sent: Tuesday, March 22, 2005 1:11 PM To: Leeds, Mark Subje