Any Task object (Project is a special form of Task)
can act as iterator to generate a sequence of itself and all its sub tasks,
in the hierarchy. For example you can do the following: On the navigation-bar
choose Session > Shell and open a python shell.
Now you can type in for t in project: print t.name and you will see:
>>> for t in project: print t.name
...
My_Project
Task1
>>>