\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{atom}\PYG{o}{.}\PYG{n}{disordered\PYGZus{}select}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}A\PYGZdq{}}\PYG{p}{)} \PYG{c+c1}{\PYGZsh{} select altloc A atom}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{atom}\PYG{o}{.}\PYG{n}{get\PYGZus{}altloc}\PYG{p}{())}
\PYG{g+go}{\PYGZdq{}A\PYGZdq{}}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{atom}\PYG{o}{.}\PYG{n}{disordered\PYGZus{}select}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}B\PYGZdq{}}\PYG{p}{)} \PYG{c+c1}{\PYGZsh{} select altloc B atom}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n+nb}{print}\PYG{p}{(}\PYG{n}{atom}\PYG{o}{.}\PYG{n}{get\PYGZus{}altloc}\PYG{p}{())}
\PYG{g+go}{\PYGZdq{}B\PYGZdq{}}
\end{Verbatim}
