>what i want to do is,when i press a button, i change the order of >selected components,how to do this?
This is so vague, I am tempted to think it is spam....but on the chance it is not, I need a lot more information than you are providing to even attempt to give you any guidance. 1. By "button" do you mean keyboard/mouse or GUI; if you mean GUI button then what toolkit (Tk, wx, etc) are you referring to? 2. Define "selected components". How are they selected? What is a component? 3. Define "order" in regards to "components". Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. -- http://mail.python.org/mailman/listinfo/python-list