\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{alignment} \PYG{o+ow}{in} \PYG{n}{AlignIO}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{n}{handle}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}fasta\PYGZdq{}}\PYG{p}{,} \PYG{n}{seq\PYGZus{}count}\PYG{o}{=}\PYG{l+m+mi}{2}\PYG{p}{):}
\PYG{g+gp}{... }    \PYG{n+nb}{print}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}Alignment length }\PYG{l+s+si}{\PYGZpc{}i}\PYG{l+s+s2}{\PYGZdq{}} \PYG{o}{\PYGZpc{}} \PYG{n}{alignment}\PYG{o}{.}\PYG{n}{get\PYGZus{}alignment\PYGZus{}length}\PYG{p}{())}
\PYG{g+gp}{... }    \PYG{k}{for} \PYG{n}{record} \PYG{o+ow}{in} \PYG{n}{alignment}\PYG{p}{:}
\PYG{g+gp}{... }        \PYG{n+nb}{print}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}}\PYG{l+s+si}{\PYGZpc{}s}\PYG{l+s+s2}{ \PYGZhy{} }\PYG{l+s+si}{\PYGZpc{}s}\PYG{l+s+s2}{\PYGZdq{}} \PYG{o}{\PYGZpc{}} \PYG{p}{(}\PYG{n}{record}\PYG{o}{.}\PYG{n}{seq}\PYG{p}{,} \PYG{n}{record}\PYG{o}{.}\PYG{n}{id}\PYG{p}{))}
\PYG{g+gp}{... }    \PYG{n+nb}{print}\PYG{p}{()}
\PYG{g+gp}{...}
\end{Verbatim}
