I'm playing with pycassaShell (as part of the Cassandra and the Twissandra tutorial). When trying to add two functions inside the shell, and call one from the other I get an error that the Name is not recognized.
This is probably something very simple, but I did not find how to do this.
The pycassaShell looks like:
In [3]: def aaa(): print 5
In [4]: aaa()
5
In [5]: def bbb(): aaa()
In [6]: bbb()
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
...
NameError: global name 'aaa' is not defined