\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{SeqIO}

\PYG{k}{for} \PYG{n}{seq\PYGZus{}record} \PYG{o+ow}{in} \PYG{n}{SeqIO}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}ls\PYGZus{}orchid.fasta\PYGZdq{}}\PYG{p}{,} \PYG{l+s+s2}{\PYGZdq{}fasta\PYGZdq{}}\PYG{p}{):}
    \PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{seq\PYGZus{}record}\PYG{o}{.}\PYG{n}{id}\PYG{p}{)}
    \PYG{n+nb}{print}\PYG{p}{(}\PYG{n+nb}{repr}\PYG{p}{(}\PYG{n}{seq\PYGZus{}record}\PYG{o}{.}\PYG{n}{seq}\PYG{p}{))}
    \PYG{n+nb}{print}\PYG{p}{(}\PYG{n+nb}{len}\PYG{p}{(}\PYG{n}{seq\PYGZus{}record}\PYG{p}{))}
\end{Verbatim}
