functions without parentheses

Jerry He rebound1618 at yahoo.com
Thu Jul 28 03:59:51 EDT 2005


Hi, 
  Is it possible to create a function that you can use
without parenthesizing the arguments? for example, for

def examine(str):
     .....
     .....

Is there some way to define it so that I can call it
like

examine "string" 
instead of examine("string")? 

thanks in advance

-Jerry


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



More information about the Python-list mailing list