I noticed that Python has quite a lot specialities for working with data structures (various iterators, generators, list comprehensions etc.).
Could you advise me some data structures that are useful for working with trees in pythonic style? The nodes in the tree would contain some data and there would be classical operations like children, siblings, etc. You can present some python special features dealing with trees with some smart examples (e.g. functional approach to programming)
You can use the ElementTree API, which is implemented in the Python standard library and in the LXML library. It’s meant for XML processing, but you can also use it for handling tree-structured data in general (and get XML serialization for free).