using identifiers before they are defined
malaclypse2 at gmail.com
Tue Jun 12 20:36:41 CEST 2012
On Tue, Jun 12, 2012 at 2:33 PM, Julio Sergio <juliosergio at gmail.com> wrote:
> Suppose I have to define two functions, aa, and, bb that are designed to call
> each other:
> def aa():
> ... a call of bb() somewhere in the body of aa
> def bb():
> ... a call of aa() somewhere in the body of bb
> Whatever the order of definition of aa and bb the problem remains, one of the
> two identifiers is not known ...
This works just fine in python, exactly as you've written it. What's
the actual problem you're having?
More information about the Python-list