Hi, pythoners:
My wxPython program includes a panel whose parent is a frame. The
panel has a button. When I click the button , I want to let the frame
destroy. How to implement it? Could the panel invoke the frame's
method?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Carsten Haese wrote:
> On Sun, 2006-12-24 at 22:55 -0800, many_years_after wrote:
> > Hi, pythoners:
> >
> > There is a problem I couldn't dispose. I start a thread in the my
> > program. The thread will do something before executing time.sleep().
> > W
Hi, pythoners:
There is a problem I couldn't dispose. I start a thread in the my
program. The thread will do something before executing time.sleep().
When the user give a signal to the main thread (such as click the 'end'
button or close the window), the thread should end it's running. But
h
class mythread(threading.Thread):
def __init__(self, threadname):
threading.Thread.__init__(self, name = threadname)
def run(self):
print 'i am running'
print 'i quit run()'
thread = mythread('1')
thread.start()
print threading.activeCount() ## 1 , this means the
Hi,pythoners:
I countered some problems when I try to stop threads using flag.
These are my some important codes:
# mythread.py
def run(self):
while self.addr != '':### text waiting for processing
if not self.CONTINUE: ### flag for thread ,means to exit
the
Any solution?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
> many_years_after wrote:
> > hi:
> >
> > what I want to do is just to make numbers as people input some Chinese
> > character(hanzi,i mean).The same character will create the same
> > number.So I think ascii code can do this very well.
> >
hi:
what I want to do is just to make numbers as people input some Chinese
character(hanzi,i mean).The same character will create the same
number.So I think ascii code can do this very well.
John Machin wrote:
> many_years_after wrote:
> > Hi,everyone:
> >
> >
Hi,everyone:
Have you any ideas?
Say whatever you know about this.
thanks.
--
http://mail.python.org/mailman/listinfo/python-list
hello , members:
I have basic knowledge of python programming. But i don't know
what to do next step.
I don't know in which field I should learn more about python and
finally finish some tasks.
Can you give me some ideas?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo