Re: Multiple "cmp"s chained one after another

2005-05-16 Thread Glauco Silva
You can try this : >>> l = [(2001, 5, 2),(2111,3,3),(1984, 3, 1), (2001, 1, 1)] >>> l.sort(lambda x = l[0],y = l[1] : cmp((x[1],x[2]),(y[1],y[2]))) - Original Message - From: "Volker Grabsch" <[EMAIL PROTECTED]> To: Sent: Saturday, May 14, 2005 7:09 AM Subject: Multiple "cmp"s chained on

Re: problem in the compiler ?

2005-05-05 Thread Glauco Silva
) self.myButton.pack() ... self.myButton.invoke('C1') - - Original Message - From: "Delaney, Timothy C (Timothy)" <[EMAIL PROTECTED]> To: "Glauco Silva" <[EMAIL PROTECTED]>; Sent: Wednes

Re: problem in the compiler ?

2005-05-03 Thread Glauco Silva
David Daniels" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 03, 2005 11:21 AM Subject: Re: problem in the compiler ? Glauco Silva wrote: > python : 2.3.5 > os: win 2K This part is good enough (though sometimes it helps to mention the service pack number on windows systems

Re: problem in the compiler ?

2005-05-03 Thread Glauco Silva
27;Function' is call. And i don´t want this. What´s wrong ? Thank you Glauco - Original Message - From: "Delaney, Timothy C (Timothy)" <[EMAIL PROTECTED]> To: "Glauco Silva" <[EMAIL PROTECTED]>; Sent: Monday, May 02, 2005 8:50 PM Subject: RE: problem in th

problem in the compiler ?

2005-05-02 Thread Glauco Silva
when i creat a RadioButton and put a command = self.Function , this function is called in the creation of RadioButton. It´s right this or it´s wrong ? Thank you Glauco  No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.1 - Release Da

How can i solve this problem with py2exe ?

2005-04-27 Thread Glauco Silva
Hi, I´m with problem to create a executable program in python. I´m using py2exe but i don´t know if it´s right. When i run in prompt "python setup.py py2exe", appear in the end this:   ### The following modules appear to be missing[ '_imaging_gif','libVTKCommonPython', 'libVTKCon

Problem using py2exe

2005-04-18 Thread Glauco Silva
Hi, I´m with problem to create a executable program in python. I´m using py2exe but i don´t know if it´s right. My setup.py:   from distutils.core import setupimport py2exefrom glob import glob   setup(    # The first three parameters are not required, if at least a    # 'version' is give

problem with py2exe !

2005-04-15 Thread Glauco Silva
Hi, I´m with problem to create a executable program in python. I´m using py2exe but i don´t know if it´s right. My setup.py:   from distutils.core import setupimport py2exefrom glob import glob   setup(    # The first three parameters are not required, if at least a    # 'version' is given

Problem in Dictionaries

2005-03-01 Thread Glauco Silva
I´m with problem in Dictionaries ! I would like to know if the dictionary can sort with a function that i give to then! Because i need to have a dictionary sort by key ! For exemple : dict  = {} dict[50] = "fifty" dict[129] = "a hundred twenty nine" print dict {129: "a hundred twenty nine", 50: "f