\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{alignments} \PYG{o}{=} \PYG{n}{aligner}\PYG{o}{.}\PYG{n}{align}\PYG{p}{(}\PYG{n}{seq1}\PYG{p}{,} \PYG{n}{seq2}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{alignment} \PYG{o+ow}{in} \PYG{n}{alignments}\PYG{p}{:}
\PYG{g+gp}{... }    \PYG{k}{print}\PYG{p}{(}\PYG{n}{alignment}\PYG{p}{)}
\PYG{g+gp}{...}
\PYG{g+go}{GAACT}
\PYG{g+go}{||\PYGZhy{}\PYGZhy{}|}
\PYG{g+go}{GA\PYGZhy{}\PYGZhy{}T}
\PYG{g+go}{\PYGZlt{}BLANKLINE\PYGZgt{}}
\PYG{g+go}{GAACT}
\PYG{g+go}{|\PYGZhy{}|\PYGZhy{}|}
\PYG{g+go}{G\PYGZhy{}A\PYGZhy{}T}
\PYG{g+go}{\PYGZlt{}BLANKLINE\PYGZgt{}}
\end{Verbatim}
