\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{trees} \PYG{o}{=} \PYG{n+nb}{list}\PYG{p}{(}\PYG{n}{Phylo}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}../../Tests/PhyloXML/phyloxml\PYGZus{}examples.xml\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}phyloxml\PYGZdq{}}\PYG{p}{))}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{tree1} \PYG{o}{=} \PYG{n}{trees}\PYG{p}{[}\PYG{l+m+mi}{0}\PYG{p}{]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{others} \PYG{o}{=} \PYG{n}{trees}\PYG{p}{[}\PYG{l+m+mi}{1}\PYG{p}{:]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{Phylo}\PYG{o}{.}\PYG{n}{write}\PYG{p}{(}\PYG{n}{tree1}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}tree1.nwk\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}newick\PYGZdq{}}\PYG{p}{)}
\PYG{g+go}{1}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{Phylo}\PYG{o}{.}\PYG{n}{write}\PYG{p}{(}\PYG{n}{others}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}other\PYGZus{}trees.nwk\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}newick\PYGZdq{}}\PYG{p}{)}
\PYG{g+go}{12}
\end{Verbatim}
