\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio.ExPASy} \PYG{k+kn}{import} \PYG{n}{Prosite}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{handle} \PYG{o}{=} \PYG{n+nb}{open}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}prosite.dat\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{records} \PYG{o}{=} \PYG{n}{Prosite}\PYG{o}{.}\PYG{n}{parse}\PYG{p}{(}\PYG{n}{handle}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record} \PYG{o}{=} \PYG{n+nb}{next}\PYG{p}{(}\PYG{n}{records}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{accession}
\PYG{g+go}{\PYGZsq{}PS00001\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{name}
\PYG{g+go}{\PYGZsq{}ASN\PYGZus{}GLYCOSYLATION\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{pdoc}
\PYG{g+go}{\PYGZsq{}PDOC00001\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record} \PYG{o}{=} \PYG{n+nb}{next}\PYG{p}{(}\PYG{n}{records}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{accession}
\PYG{g+go}{\PYGZsq{}PS00004\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{name}
\PYG{g+go}{\PYGZsq{}CAMP\PYGZus{}PHOSPHO\PYGZus{}SITE\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{pdoc}
\PYG{g+go}{\PYGZsq{}PDOC00004\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record} \PYG{o}{=} \PYG{n+nb}{next}\PYG{p}{(}\PYG{n}{records}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{accession}
\PYG{g+go}{\PYGZsq{}PS00005\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{name}
\PYG{g+go}{\PYGZsq{}PKC\PYGZus{}PHOSPHO\PYGZus{}SITE\PYGZsq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record}\PYG{o}{.}\PYG{n}{pdoc}
\PYG{g+go}{\PYGZsq{}PDOC00005\PYGZsq{}}
\end{Verbatim}
