Wow, nice!
But, with join i can't padding with 0.
'-'.join(str(random.randint(0, 60)) for dummy in xrange(6))
Then, i has been used:
a[i] = "%02d" % int(random.randint(0,60))
I will change int(random.randint(0,60)) for random.randint(0,60), only.
Thank you, guys !! ;-)
The problem was solved whe
On Mon, 05 Jan 2009 12:25:53 -0200, Djames Suhanko wrote:
> I has a litle program that open another window. When I close de root
> window in quit button, I need clicking 2 times to close. is where the
> problem?
>
> […]
>
> 17 def gera_seis(self):
> 18a = {}
> 19for i in range(6):
>
On Jan 5, 9:21 am, Roger wrote:
> On Jan 5, 11:52 am, Collin D wrote:
>
>
>
> > On Jan 5, 6:25 am, "Djames Suhanko" wrote:
>
> > > Hello!
> > > I'm sorry my terrible english (my native language is portuguese).
> > > I has a litle program that open another window. When I close de root
> > > windo
On Jan 5, 11:52 am, Collin D wrote:
> On Jan 5, 6:25 am, "Djames Suhanko" wrote:
>
>
>
> > Hello!
> > I'm sorry my terrible english (my native language is portuguese).
> > I has a litle program that open another window. When I close de root
> > window in quit button, I need clicking 2 times to cl
On Jan 5, 6:25 am, "Djames Suhanko" wrote:
> Hello!
> I'm sorry my terrible english (my native language is portuguese).
> I has a litle program that open another window. When I close de root
> window in quit button, I need clicking 2 times to close. is where the
> problem?
>
> The source:
> 1 #!
Djames Suhanko wrote:
> Hello!
> I'm sorry my terrible english (my native language is portuguese).
> I has a litle program that open another window. When I close de root
> window in quit button, I need clicking 2 times to close. is where the
> problem?
>
> The source:
> 1 #!/usr/bin/env python
Hello!
I'm sorry my terrible english (my native language is portuguese).
I has a litle program that open another window. When I close de root
window in quit button, I need clicking 2 times to close. is where the
problem?
The source:
1 #!/usr/bin/env python
2 from Tkinter import *
3 import sy