any body know how to use winlike

2008-11-25 Thread Anuradha Jena
Hi, Any body know how to use winlike.If yes.Can s/he give a simple example of onEvent & onClose functionally. Actually i am facing problem where. I have one page there if u click on a text Winlike window will open.After opening i want to print text value,it is not printing.i am calling

list of lambda

2005-11-11 Thread jena
hello, when i create list of lambdas: l=[lambda:x.upper() for x in ['a','b','c']] then l[0]() returns 'C', i think, it should be 'A' my workaround is to define helper class with __call__ method: class X: def __init__(self,s): self.s=s def __call__(self): return self.s.upper() l=[X(x) for x

assigning in nested functions

2005-10-09 Thread jena
access variable in container function. I need to assign variable in container function, is any way to do this? Thanks a lot for your help Jena -- http://mail.python.org/mailman/listinfo/python-list