Re: Understanding def foo(*args)

2011-01-30 Thread sl33k_
Sorry that parameter is **kwargs. -- http://mail.python.org/mailman/listinfo/python-list

Understanding def foo(*args)

2011-01-30 Thread sl33k_
Hi, I am struggling to grasp this concept about def foo(*args). Also, what is def bar(*args, *kwargs)? Isnt it like self must be the first parameter to the method/function? If not what are the exceptions? Also, can the terms method and function be used interchangeably? TIA -- http://mail.pytho

Wrappers in python

2011-01-27 Thread sl33k_
What are wrappers? What entities do they wrap around? Struggling to understand the concept. -- http://mail.python.org/mailman/listinfo/python-list

Return Statement

2011-01-26 Thread sl33k_
How does "return True" and "return False" affect the execution of the calling function? -- http://mail.python.org/mailman/listinfo/python-list

Syntax help

2011-01-26 Thread sl33k_
How to read syntax like this given in the documentation of python? (Newbie) defparameter ::= parameter ["=" expression] http://docs.python.org/reference/compound_stmts.html#function-definitions -- http://mail.python.org/mailman/listinfo/python-list

Namespaces

2011-01-21 Thread sl33k_
What is namespace? And what is built-in namespace? -- http://mail.python.org/mailman/listinfo/python-list