[python-uk] (no subject)

anish thomas thomas_anish at hotmail.com
Thu Apr 8 13:43:21 CEST 2010


Hi Experts,

 

Not sure , I am contacting the right alias for some clarifications on python.

Am beginer and looking for your comments/suggestions on implementing call backs in python.

I have the following sample code, where I am trying to execute "hello" using callbacks,but its not printing the value.

Can someone please comment on it

 

Regards

Anish

 

 

def hello():
   print 'hello'
   return

def temp(val):
   val
   return

temp(hello)



 
 		 	   		  
_________________________________________________________________
Climate, controversies and the changing signatures of nature
http://green.in.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-uk/attachments/20100408/8500519a/attachment.html>


More information about the python-uk mailing list