\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{urllib.request} \PYG{k+kn}{import} \PYG{n}{urlopen} \PYG{c+c1}{\PYGZsh{} Python 3 only}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{from} \PYG{n+nn}{io} \PYG{k+kn}{import} \PYG{n}{TextIOWrapper}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{handle} \PYG{o}{=} \PYG{n}{TextIOWrapper}\PYG{p}{(}\PYG{n}{urlopen}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}https://raw.githubusercontent.com/biopython/biopython/master/Tests/SwissProt/F2CXE6.txt\PYGZdq{}}\PYG{p}{))}
\end{Verbatim}
