\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{handle} \PYG{o}{=} \PYG{n}{Entrez}\PYG{o}{.}\PYG{n}{esearch}\PYG{p}{(}\PYG{n}{db}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}nuccore\PYGZdq{}}\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{n}{gi\PYGZus{}list} \PYG{o}{=} \PYG{n}{record}\PYG{p}{[}\PYG{l+s+s2}{\PYGZdq{}IdList\PYGZdq{}}\PYG{p}{]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{gi\PYGZus{}list}
\PYG{g+go}{[\PYGZsq{}57240072\PYGZsq{}, \PYGZsq{}57240071\PYGZsq{}, \PYGZsq{}6273287\PYGZsq{}, \PYGZsq{}6273291\PYGZsq{}, \PYGZsq{}6273290\PYGZsq{}, \PYGZsq{}6273289\PYGZsq{}, \PYGZsq{}6273286\PYGZsq{},}
\PYG{g+go}{\PYGZsq{}6273285\PYGZsq{}, \PYGZsq{}6273284\PYGZsq{}]}
\end{Verbatim}
