extracting the root of a tree in python
<p>Hey everybody,
I've been trying to find a built-in function for extracting the root of a tree in python,
I haven't found something like that and I've been trying to build one of my own but I couldn't build something generic to fit all my needs. 
Does anyone have something prepared or perhaps know how to extract this information from the tree structure in python?</p>

<p>thanks </p>
