\begin{Verbatim}[commandchars=\\\{\}]
\PYG{n}{tree} \PYG{o}{=} \PYG{n}{Phylo}\PYG{o}{.}\PYG{n}{read}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}example.xml\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}phyloxml\PYGZdq{}}\PYG{p}{)}
\PYG{k+kn}{import} \PYG{n+nn}{copy}

\PYG{n}{newtree} \PYG{o}{=} \PYG{n}{copy}\PYG{o}{.}\PYG{n}{deepcopy}\PYG{p}{(}\PYG{n}{tree}\PYG{p}{)}
\end{Verbatim}
