\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{Bio} \PYG{k+kn}{import} \PYG{n}{Entrez}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{Entrez}\PYG{o}{.}\PYG{n}{email} \PYG{o}{=} \PYG{l+s+s2}{\PYGZdq{}A.N.Other@example.com\PYGZdq{}}  \PYG{c+c1}{\PYGZsh{} Always tell NCBI who you are}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{handle} \PYG{o}{=} \PYG{n}{Entrez}\PYG{o}{.}\PYG{n}{egquery}\PYG{p}{(}\PYG{n}{term}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}Opuntia AND rpl16\PYGZdq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{record} \PYG{o}{=} \PYG{n}{Entrez}\PYG{o}{.}\PYG{n}{read}\PYG{p}{(}\PYG{n}{handle}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k}{for} \PYG{n}{row} \PYG{o+ow}{in} \PYG{n}{record}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}eGQueryResult\PYGZdq{}}\PYG{p}{]:}
\PYG{g+gp}{... }    \PYG{k}{if} \PYG{n}{row}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}DbName\PYGZdq{}}\PYG{p}{]}\PYG{o}{==}\PYG{l+s+s2}{\PYGZdq{}nuccore\PYGZdq{}}\PYG{p}{:}
\PYG{g+gp}{... }        \PYG{k}{print}\PYG{p}{(}\PYG{n}{row}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}Count\PYGZdq{}}\PYG{p}{])}
\PYG{g+gp}{...}
\PYG{g+go}{9}
\end{Verbatim}
