\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{SwissProt}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{handle} \PYG{o}{=} \PYG{n+nb}{open}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}uniprot\PYGZus{}sprot.dat\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{descriptions} \PYG{o}{=} \PYG{p}{[}\PYG{n}{record}\PYG{o}{.}\PYG{n}{description} \PYG{k}{for} \PYG{n}{record} \PYG{o+ow}{in} \PYG{n}{SwissProt}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{n}{handle}\PYG{p}{)]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{len}\PYG{p}{(}\PYG{n}{descriptions}\PYG{p}{)}
\PYG{g+go}{468851}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{descriptions}\PYG{p}{[:}\PYG{l+m+mi}{5}\PYG{p}{]}
\PYG{g+go}{[\PYGZsq{}RecName: Full=Protein MGF 100\PYGZhy{}1R;\PYGZsq{},}
\PYG{g+go}{ \PYGZsq{}RecName: Full=Protein MGF 100\PYGZhy{}1R;\PYGZsq{},}
\PYG{g+go}{ \PYGZsq{}RecName: Full=Protein MGF 100\PYGZhy{}1R;\PYGZsq{},}
\PYG{g+go}{ \PYGZsq{}RecName: Full=Protein MGF 100\PYGZhy{}1R;\PYGZsq{},}
\PYG{g+go}{ \PYGZsq{}RecName: Full=Protein MGF 100\PYGZhy{}2L;\PYGZsq{}]}
\end{Verbatim}
