\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{Phylo}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{tree} \PYG{o}{=} \PYG{n}{Phylo}\PYG{o}{.}\PYG{n}{read}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}PhyloXML/example.xml\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}phyloxml\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{tree}\PYG{p}{)}
\PYG{g+go}{Phylogeny(description=\PYGZsq{}phyloXML allows to use either a \PYGZdq{}branch\PYGZus{}length\PYGZdq{} attribute...\PYGZsq{}, name=\PYGZsq{}example from Prof. Joe Felsenstein\PYGZsq{}s book \PYGZdq{}Inferring Phyl...\PYGZsq{}, rooted=True)}
\PYG{g+go}{    Clade()}
\PYG{g+go}{        Clade(branch\PYGZus{}length=0.06)}
\PYG{g+go}{            Clade(branch\PYGZus{}length=0.102, name=\PYGZsq{}A\PYGZsq{})}
\PYG{g+go}{            Clade(branch\PYGZus{}length=0.23, name=\PYGZsq{}B\PYGZsq{})}
\PYG{g+go}{        Clade(branch\PYGZus{}length=0.4, name=\PYGZsq{}C\PYGZsq{})}
\end{Verbatim}
